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/pthread/threads.c

    rc124c985 r38d8849  
    3636#include "errno.h"
    3737#include "posix/stdlib.h"
    38 #include "libc/thread.h"
     38#include <fibril.h>
    3939#include "../internal/common.h"
    4040
    4141pthread_t pthread_self(void)
    4242{
    43         return thread_get_id();
     43        return (pthread_t) fibril_get_id();
    4444}
    4545
Note: See TracChangeset for help on using the changeset viewer.