Changeset 52acfab in mainline for uspace/lib/posix/include/posix/pthread.h
- Timestamp:
- 2019-05-28T19:24:14Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77de449e
- Parents:
- af5037d (diff), bebd154 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 19:24:14)
- git-committer:
- GitHub <noreply@…> (2019-05-28 19:24:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/pthread.h
raf5037d r52acfab 34 34 35 35 #include <time.h> 36 #include <_bits/decls.h> 37 38 #define PTHREAD_MUTEX_RECURSIVE 1 39 40 #define PTHREAD_MUTEX_INITIALIZER { 0 } 41 42 #define PTHREAD_COND_INITIALIZER { 0 } 43 44 __C_DECLS_BEGIN; 36 45 37 46 typedef void *pthread_t; … … 43 52 typedef int pthread_key_t; 44 53 45 #define PTHREAD_MUTEX_RECURSIVE 146 47 54 typedef struct pthread_mutex { 48 55 int dummy; 49 56 } pthread_mutex_t; 50 51 #define PTHREAD_MUTEX_INITIALIZER { 0 }52 57 53 58 typedef struct { … … 62 67 int dummy; 63 68 } pthread_cond_t; 64 65 #define PTHREAD_COND_INITIALIZER { 0 }66 69 67 70 extern pthread_t pthread_self(void); … … 106 109 extern int pthread_key_create(pthread_key_t *, void (*)(void *)); 107 110 111 __C_DECLS_END; 112 108 113 #endif 109 114
Note:
See TracChangeset
for help on using the changeset viewer.