15 lines
200 B
C
15 lines
200 B
C
#include "nxsleep.h"
|
|
#include "foundation/error.h"
|
|
int NXSleep(unsigned int milliseconds)
|
|
{
|
|
Sleep(milliseconds);
|
|
return NErr_Success;
|
|
}
|
|
|
|
int NXSleepYield(void)
|
|
{
|
|
Sleep(0);
|
|
return NErr_Success;
|
|
}
|
|
|