Ignore:
Timestamp:
Oct 4, 2007, 9:09:39 PM (18 years ago)
Author:
bird
Message:

Built on linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kHlp/Bare/kHlpBareThread.c

    r3594 r3599  
    3232#if K_OS == K_OS_DARWIN
    3333
     34#elif K_OS == K_OS_LINUX
     35# include <k/kHlpSys.h>
     36
    3437#elif K_OS == K_OS_OS2
    3538# define INCL_BASE
     
    4952void kHlpSleep(unsigned cMillies)
    5053{
    51 #if K_OS == K_OS_OS2
     54#if K_OS == K_OS_DARWIN
    5255    /** @todo mach_wait_until, see gen/nanosleep.c. */
     56    usleep(cMillies * 1000);
     57
     58#elif K_OS == K_OS_LINUX
     59    /** @todo find the right syscall... */
    5360
    5461#elif K_OS == K_OS_OS2
Note: See TracChangeset for help on using the changeset viewer.