Changeset 0dd4779 in mainline for uspace/lib/posix/include/posix/pthread.h
- Timestamp:
- 2017-11-13T20:00:07Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0a0b3d8
- Parents:
- a2afd8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/pthread.h
ra2afd8f r0dd4779 80 80 extern int pthread_attr_destroy(pthread_attr_t *); 81 81 82 extern int pthread_mutex_init(pthread_mutex_t * restrict,83 const pthread_mutexattr_t * restrict);82 extern int pthread_mutex_init(pthread_mutex_t *__restrict__, 83 const pthread_mutexattr_t *__restrict__); 84 84 extern int pthread_mutex_destroy(pthread_mutex_t *); 85 85 extern int pthread_mutex_lock(pthread_mutex_t *); … … 89 89 extern int pthread_mutexattr_init(pthread_mutexattr_t *); 90 90 extern int pthread_mutexattr_destroy(pthread_mutexattr_t *); 91 extern int pthread_mutexattr_gettype(const pthread_mutexattr_t * restrict,92 int * restrict);91 extern int pthread_mutexattr_gettype(const pthread_mutexattr_t *__restrict__, 92 int *__restrict__); 93 93 extern int pthread_mutexattr_settype(pthread_mutexattr_t *, int); 94 94 95 extern int pthread_cond_init(pthread_cond_t * restrict,96 const pthread_condattr_t * restrict);95 extern int pthread_cond_init(pthread_cond_t *__restrict__, 96 const pthread_condattr_t *__restrict__); 97 97 extern int pthread_cond_destroy(pthread_cond_t *); 98 98 extern int pthread_cond_broadcast(pthread_cond_t *); 99 99 extern int pthread_cond_signal(pthread_cond_t *); 100 extern int pthread_cond_timedwait(pthread_cond_t * restrict,101 pthread_mutex_t * restrict, const struct __POSIX_DEF__(timespec) *restrict);102 extern int pthread_cond_wait(pthread_cond_t * restrict,103 pthread_mutex_t * restrict);100 extern int pthread_cond_timedwait(pthread_cond_t *__restrict__, 101 pthread_mutex_t *__restrict__, const struct __POSIX_DEF__(timespec) *__restrict__); 102 extern int pthread_cond_wait(pthread_cond_t *__restrict__, 103 pthread_mutex_t *__restrict__); 104 104 105 105 extern int pthread_condattr_destroy(pthread_condattr_t *);
Note:
See TracChangeset
for help on using the changeset viewer.