Changeset 12d6c98 in mainline for uspace/lib/posix/source/pthread/mutex.c
- Timestamp:
- 2013-10-16T16:09:14Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2923c7b
- Parents:
- c2a6983
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/pthread/mutex.c
rc2a6983 r12d6c98 38 38 #include "posix/pthread.h" 39 39 #include "errno.h" 40 #include "../internal/common.h" 40 41 41 42 … … 43 44 const pthread_mutexattr_t *restrict attr) 44 45 { 46 not_implemented(); 45 47 return ENOTSUP; 46 48 } … … 48 50 int pthread_mutex_destroy(pthread_mutex_t *mutex) 49 51 { 52 not_implemented(); 50 53 return ENOTSUP; 51 54 } … … 53 56 int pthread_mutex_lock(pthread_mutex_t *mutex) 54 57 { 58 not_implemented(); 55 59 return ENOTSUP; 56 60 } … … 58 62 int pthread_mutex_trylock(pthread_mutex_t *mutex) 59 63 { 64 not_implemented(); 60 65 return ENOTSUP; 61 66 } … … 63 68 int pthread_mutex_unlock(pthread_mutex_t *mutex) 64 69 { 70 not_implemented(); 65 71 return ENOTSUP; 66 72 } … … 68 74 int pthread_mutexattr_init(pthread_mutexattr_t *attr) 69 75 { 76 not_implemented(); 70 77 return ENOTSUP; 71 78 } … … 73 80 int pthread_mutexattr_destroy(pthread_mutexattr_t *attr) 74 81 { 82 not_implemented(); 75 83 return ENOTSUP; 76 84 } … … 79 87 int *restrict type) 80 88 { 89 not_implemented(); 81 90 return ENOTSUP; 82 91 } … … 84 93 int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) 85 94 { 95 not_implemented(); 86 96 return ENOTSUP; 87 97 }
Note:
See TracChangeset
for help on using the changeset viewer.