[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] Stoping rttasks
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 majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/