On Tue, Jul 04, 2000 at 07:11:29PM +0200, Ivan Martinez wrote:
> Hello all
> I have a real time task which consists of an infinite loop with some
> code and a "pthread_wait_np" inside it. If it's running and I call
> "pthread_suspend_np", does the task stop inmediatly or when it executes
> "pthread_wait_np" again?.
> Can't anybody help me with my other problem about spin locks?.
> Thank you.
On a uniprocessor that target of a suspend willl not run again until
it is woken up.
On a multiprocessor, it is possible that the thread is running during the
suspend and then it will only get suspended when the remote scheduler
runs.
What was your spinlock problem?
> --
> Ivan Martinez (Rodriguez)
> BEng in Software Engineering - MEng student
> http://www.student.dtu.dk/~u990873
> "Got fabes?"
> -- [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/
--
---------------------------------------------------------
Victor Yodaiken
FSMLabs: www.fsmlabs.com www.rtlinux.com
FSMLabs is a servicemark and a service of
VJY Associates L.L.C, New Mexico.
-- [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/