home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
emacs-19.28-src.tgz
/
tar.out
/
fsf
/
emacs
/
unixlib
/
src
/
sleep.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
241b
|
14 lines
#include "amiga.h"
#include "timers.h"
#include "signals.h"
int sleep(unsigned seconds)
{
chkabort();
_timer_start(_odd_timer, seconds, 0);
while (!_timer_expired(_odd_timer)) _handle_signals(_wait_signals(_odd_sig));
return 0;
}