RES: Thread Scheduler Priority

2014-05-30 Thread Fred Pedrisa
ara: Fred Pedrisa Cc: 'freebsd-current' Assunto: Re: Thread Scheduler Priority On Thu, 2014-05-29 at 02:12 -0300, Fred Pedrisa wrote: > Hi, Guys. > > > > How can I adjust a certain thread to have the maximum system priority > in the sche

Re: Thread Scheduler Priority

2014-05-30 Thread Ian Lepore
On Thu, 2014-05-29 at 02:12 -0300, Fred Pedrisa wrote: > Hi, Guys. > > > > How can I adjust a certain thread to have the maximum system priority in the > scheduler ? > > > > I've tried doing it this way : > > > >/* Set thread priority. */

RES: Thread Scheduler Priority

2014-05-30 Thread Fred Pedrisa
Any clue on this ? :( -Mensagem original- De: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] Em nome de Fred Pedrisa Enviada em: quinta-feira, 29 de maio de 2014 02:19 Para: 'Adrian Chadd' Cc: 'freebsd-current' Assunto: RES: Thread Sched

RES: Thread Scheduler Priority

2014-05-28 Thread Fred Pedrisa
Hello, Yes. -Mensagem original- De: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] Em nome de Adrian Chadd Enviada em: quinta-feira, 29 de maio de 2014 02:18 Para: Fred Pedrisa Cc: freebsd-current Assunto: Re: Thread Scheduler Priority are you doing this

Re: Thread Scheduler Priority

2014-05-28 Thread Adrian Chadd
are you doing this all as root? -a On 28 May 2014 22:12, Fred Pedrisa wrote: > Hi, Guys. > > > > How can I adjust a certain thread to have the maximum system priority in the > scheduler ? > > > > I've tried doing it this way : > > > >/* Set threa

Thread Scheduler Priority

2014-05-28 Thread Fred Pedrisa
Hi, Guys. How can I adjust a certain thread to have the maximum system priority in the scheduler ? I've tried doing it this way : /* Set thread priority. */ if (pthread_getschedparam(ts[gnThre