> Hi all
> This is a general question.
> 
> When using nanosleep, sem_wait, usleep etc. in RT - threds these
> funktion is performed as sleep. it meens the thread is suspended until
> the wakeuptime ore call to sem_post from other thred. thats fine.
> 
> But what happens withe these funktions is called from a fifo handler or
> in init_module. I know that nanosleep is busy wait, but what about fx.

nanosleep is not busy wait, it calls clock_nanosleep wich sets up the timer
marks it selfe suspended and then calls rtl_schedul(). 

hofrat

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [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