Changeset 38d8849 in mainline for uspace/lib/posix/src/pthread/threads.c
- Timestamp:
- 2018-07-16T15:58:51Z (7 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/pthread/threads.c
rc124c985 r38d8849 36 36 #include "errno.h" 37 37 #include "posix/stdlib.h" 38 #include "libc/thread.h"38 #include <fibril.h> 39 39 #include "../internal/common.h" 40 40 41 41 pthread_t pthread_self(void) 42 42 { 43 return thread_get_id();43 return (pthread_t) fibril_get_id(); 44 44 } 45 45
Note:
See TracChangeset
for help on using the changeset viewer.