Hello,

I think you have to use pthread_wait_np after the pthread_suspend_np otherwise
the task may run on...

tobias

Ivan Martinez schrieb:

>         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.
> --
> 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/

-- [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