Re: [linux-audio-dev] realtimeness: pthread_cond_signal vs. pipe write

2006-06-05 Thread Paul Davis
On Mon, 2006-06-05 at 01:21 +0200, Stefan Westerfeld wrote: Hi! I am trying to notify a high priority (nice -20 or nice -19) thread from a realtime thread (from a jack callback to be precise). Of course I want the realtime thread to not block, but I want the high priority thread to react

Re: [linux-audio-dev] real time priority programming tutorial

2006-06-05 Thread Steve
Here is essentially the code I have been using for this purpose. You don't necessarily need to use max priority for sp.sched_priority. There may be better ways of doing this, I guess... if anyone sees if I'm missing something. Seems to work, but has the disadvantage of having to run under sudo to

Re: [linux-audio-dev] real time priority programming tutorial

2006-06-05 Thread Christian Schoenebeck
Am Montag, 5. Juni 2006 16:12 schrieb Steve: Here is essentially the code I have been using for this purpose. You don't necessarily need to use max priority for sp.sched_priority. There may be better ways of doing this, I guess... if anyone sees if I'm missing something. Seems to work, but has