Re: sched_yield() needed for pthread_cond_signal(..) to work?

2008-02-18 Thread Luis Claudio R. Goncalves
Hi! RT + sched_yield() are not really good friends... sched_yield() messes the work of the scheduler. Along with it, sched_tield() behaves in a different way under CFS. To get the old behavior you have to: echo 1 /proc/sys/kernel/sched_compat_yield Luis On Mon, Feb 18, 2008 at

Re: sched_yield() needed for pthread_cond_signal(..) to work?

2008-02-18 Thread Nelson Castillo
On Feb 18, 2008 1:25 PM, Luis Claudio R. Goncalves [EMAIL PROTECTED] wrote: Hi! Hi Luis, thanks for the reply. RT + sched_yield() are not really good friends... sched_yield() messes the work of the scheduler. Along with it, sched_tield() behaves in a different way under CFS. To get the old

Re: sched_yield() needed for pthread_cond_signal(..) to work?

2008-02-18 Thread Nelson Castillo
On Feb 18, 2008 7:51 PM, [EMAIL PROTECTED] wrote: Sorry for top-posting. This looks a lot like LTP code, which is full of similar assumptions Note also that in RT above RT prio 50 signals don't get delivered, and a program waiting for a signal can lock the machine. Sent via BlackBerry by