Changes in uspace/lib/posix/source/time.c [582a0b8:78188e5] in mainline
- File:
- 
      - 1 edited
 
 - 
          
  uspace/lib/posix/source/time.c (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      uspace/lib/posix/source/time.cr582a0b8 r78188e5 45 45 #include "posix/assert.h" 46 46 47 #include "libc/fibril_synch.h" 47 48 #include "libc/malloc.h" 48 49 #include "libc/task.h" 49 50 #include "libc/stats.h" 50 #include "libc/stdbool.h"51 51 #include "libc/stddef.h" 52 #include "libc/thread.h"53 52 #include "libc/sys/time.h" 54 53 … … 315 314 // TODO: interruptible sleep 316 315 if (rqtp->tv_sec != 0) { 317 thread_sleep(rqtp->tv_sec);316 fibril_sleep(rqtp->tv_sec); 318 317 } 319 318 if (rqtp->tv_nsec != 0) { 320 thread_usleep(rqtp->tv_nsec / 1000);319 fibril_usleep(rqtp->tv_nsec / 1000); 321 320 } 322 321 return 0; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
