Changeset 38d8849 in mainline for uspace/lib/posix/src/unistd.c


Ignore:
Timestamp:
2018-07-16T15:58:51Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
db51219f
Parents:
c124c985
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-14 16:53:46)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-16 15:58:51)
Message:

Privatize <thread.h>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/unistd.c

    rc124c985 r38d8849  
    4545
    4646#include "libc/task.h"
    47 #include "libc/thread.h"
    4847#include "libc/stats.h"
    4948#include "libc/malloc.h"
     
    7069unsigned int sleep(unsigned int seconds)
    7170{
    72         return thread_sleep(seconds);
     71        fibril_sleep(seconds);
     72        return 0;
    7373}
    7474
Note: See TracChangeset for help on using the changeset viewer.