/*
* copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <signal.h>
static int ringring;
static void sleepx(void);
void
sleep(unsigned n)
{
int omask;
if (n == 0)
return;
return;
else {
/*
* This is a hack, but we must have time to
* return from the setitimer after the alarm
* or else it'll be restarted. And, anyway,
* sleep never did anything more than this before.
*/
}
}
ringring = 0;
while (!ringring)
(void) sigsetmask(omask);
}
static void
sleepx(void)
{
ringring = 1;
}