Initial revision
This commit is contained in:
parent
ed7c8e8d02
commit
76193d7cb0
223 changed files with 32479 additions and 0 deletions
16
src/libthread/iosleep.c
Normal file
16
src/libthread/iosleep.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include "threadimpl.h"
|
||||
|
||||
static long
|
||||
_iosleep(va_list *arg)
|
||||
{
|
||||
long n;
|
||||
|
||||
n = va_arg(*arg, long);
|
||||
return sleep(n);
|
||||
}
|
||||
|
||||
int
|
||||
iosleep(Ioproc *io, long n)
|
||||
{
|
||||
return iocall(io, _iosleep, n);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue