Hey all. I'll make it simple, and if anyone wants to see the code I can post
it.

I set up some tasks which go through their own initialization and then
suspend themselves with pthread_suspend_np(pthread_self()).

My system revolves around a series of FIFOs, and the main one from the GUI
in user space sends a command say to play some audio (writes to a DAC on our
interface board housing the PC/104) and from there a funciton is called
which wakes up the audio thread. This works fine, but if I let the system
sit a while and then press something on the touch panel that should generate
a clicking sound, for example, the GUI will just sit there for about half a
second and then the audio will start.

Why do my tasks take this long to wakeup after they have been suspended for
several minutes?

The task is calling pthread_wait_np() at each run through the loop. The
audio task runs at a period of 122000 ns. Clock running in periodic mode.

Thanks!

Steve
[EMAIL PROTECTED]

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to