[alsa-devel] RT priority 99 on soundcard
31 Mar
2014
31 Mar
'14
7:18 a.m.
Is running on top of soundcard with realtime priority 99 problematic?
/* and now async */ { static const struct timespec req = { 0, (250000000 * (1 / 45)), };
if(!AGS_IS_DEVOUT_THREAD(thread)){ nanosleep(&req, NULL); } }
31 Mar
31 Mar
9:43 a.m.
Joël Krähemann wrote:
Is running on top of soundcard with realtime priority 99 problematic?
If that thread ever goes into an infinite loop, you won't be able to stop it easily.
Please note that priorities are relative, i.e., your thread's priority needs to be higher than that of any other thread that you want to be able to interrupt, but less than that of a more important thread. How to order the specific threads on your particular system is your own decision.
Regards, Clemens
3881
Age (days ago)
3881
Last active (days ago)
1 comments
2 participants
participants (2)
-
Clemens Ladisch
-
Joël Krähemann