[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] pthread_suspend_np



>
>
>If you want to suspend until the next period, use
>	rt_task_wait()
>

Isn't that v1 API? tsktsktsk *g*
pthread_wait_np() does the same, I use it for 'regular' sleeps when a 
periodic task is finished with it's code.
But I needed a way to really suspend a thread for a length of time 
(until some mechanisms providing user space services return) 
independently of its period, so pthread_suspend does the trick.
thanks!
    Daniel

-- 
3S-Smart Software Solutions GmbH
Fischerstr.19, D-87435 Kempten
Tel. ++49-(0)831-54031-72
Fax ++49-(0)831-54031-50
email: d.krippner@3s-software.com
web:   http://www.3s-software.com