Changeset bc56f30 in mainline for uspace/lib/posix/include/posix/pthread.h
- Timestamp:
- 2019-05-27T12:38:26Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d14c25
- Parents:
- 4d51c60
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-13 16:06:49)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-27 12:38:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/pthread.h
r4d51c60 rbc56f30 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.