Initial community commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user