Question:  

According to the man pages of pthread_suspend_np:

 "Note: the thread is not guaranteed to be suspended immediately."

If this is the case (as it certainly seems to be), then how the heck do I stop program 
execution until the next time that I call "pthread_make_periodic_np"?  

I have tried:

phtread_suspend_np(pthread_self());

and even:

pthread_suspend_np(pthread_self());
pthread_wait_np();

but either of these do not seem to work too well either (it stops the
task from running over one cycle, however since pthread_suspend_np
does not seem to have taken effect yet, the task continues to be
called at every period). Should I exit the tasks entirely and somehow
recreate them on the next time around? Should I add delays???

HELP!! I am really stuck.




--- [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/~rtlinux/

Reply via email to