1
0

nxsleep.c 200 B

1234567891011121314
  1. #include "nxsleep.h"
  2. #include "foundation/error.h"
  3. int NXSleep(unsigned int milliseconds)
  4. {
  5. Sleep(milliseconds);
  6. return NErr_Success;
  7. }
  8. int NXSleepYield(void)
  9. {
  10. Sleep(0);
  11. return NErr_Success;
  12. }