Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/time.c

    r78188e5 r582a0b8  
    4545#include "posix/assert.h"
    4646
    47 #include "libc/fibril_synch.h"
    4847#include "libc/malloc.h"
    4948#include "libc/task.h"
    5049#include "libc/stats.h"
     50#include "libc/stdbool.h"
    5151#include "libc/stddef.h"
     52#include "libc/thread.h"
    5253#include "libc/sys/time.h"
    5354
     
    314315                        // TODO: interruptible sleep
    315316                        if (rqtp->tv_sec != 0) {
    316                                 fibril_sleep(rqtp->tv_sec);
     317                                thread_sleep(rqtp->tv_sec);
    317318                        }
    318319                        if (rqtp->tv_nsec != 0) {
    319                                 fibril_usleep(rqtp->tv_nsec / 1000);
     320                                thread_usleep(rqtp->tv_nsec / 1000);
    320321                        }
    321322                        return 0;
Note: See TracChangeset for help on using the changeset viewer.