Xinu7/man/man2/unsleep.doc




UNSLEEP(2)          Xinu Programmer's Manual           UNSLEEP(2)



NAME
     unsleep - remove a sleeping process from the clock queue
     prematurely

SYNOPSIS
     int unsleep(pid)
     int pid;

DESCRIPTION
     _U_n_s_l_e_e_p allow one process to take another out of the sleep-
     ing state before the time limit has expired.  usually, only
     system routines like RECVTIM(2) and KILL(2) call _u_n_s_l_e_e_p.
     User-level processes can avoid using _u_n_s_l_e_e_p by arranging
     processes to cooperate using message passing primitives.

SEE ALSO
     sleep(2), kill(2), recvtim(2)






































Version 6b               Printed 1/12/87                        1