Changeset 12d6c98 in mainline
- 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
- Location:
- uspace/lib/posix/source/pthread
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/pthread/condvar.c
rc2a6983 r12d6c98 38 38 #include "posix/pthread.h" 39 39 #include "errno.h" 40 #include "../internal/common.h" 40 41 41 42 int pthread_cond_init(pthread_cond_t *restrict condvar, 42 43 const pthread_condattr_t *restrict attr) 43 44 { 45 not_implemented(); 44 46 return ENOTSUP; 45 47 } … … 47 49 int pthread_cond_destroy(pthread_cond_t *condvar) 48 50 { 51 not_implemented(); 49 52 return ENOTSUP; 50 53 } … … 52 55 int pthread_cond_broadcast(pthread_cond_t *condvar) 53 56 { 57 not_implemented(); 54 58 return ENOTSUP; 55 59 } … … 57 61 int pthread_cond_signal(pthread_cond_t *condvar) 58 62 { 63 not_implemented(); 59 64 return ENOTSUP; 60 65 } … … 63 68 pthread_mutex_t *restrict mutex, const struct __POSIX_DEF__(timespec) *restrict timeout) 64 69 { 70 not_implemented(); 65 71 return ENOTSUP; 66 72 } … … 69 75 pthread_mutex_t *restrict mutex) 70 76 { 77 not_implemented(); 71 78 return ENOTSUP; 72 79 } … … 75 82 int pthread_condattr_init(pthread_condattr_t *attr) 76 83 { 84 not_implemented(); 77 85 return ENOTSUP; 78 86 } … … 80 88 int pthread_condattr_destroy(pthread_condattr_t *attr) 81 89 { 90 not_implemented(); 82 91 return ENOTSUP; 83 92 } -
uspace/lib/posix/source/pthread/keys.c
rc2a6983 r12d6c98 39 39 #include "posix/pthread.h" 40 40 #include "errno.h" 41 #include "../internal/common.h" 41 42 42 43 43 44 void *pthread_getspecific(pthread_key_t key) 44 45 { 46 not_implemented(); 45 47 return NULL; 46 48 } … … 48 50 int pthread_setspecific(pthread_key_t key, const void *data) 49 51 { 52 not_implemented(); 50 53 return ENOTSUP; 51 54 } … … 53 56 int pthread_key_delete(pthread_key_t key) 54 57 { 58 not_implemented(); 55 59 return ENOTSUP; 56 60 } … … 58 62 int pthread_key_create(pthread_key_t *key, void (*destructor)(void*)) 59 63 { 64 not_implemented(); 60 65 return ENOTSUP; 61 66 } -
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 } -
uspace/lib/posix/source/pthread/threads.c
rc2a6983 r12d6c98 40 40 #include "posix/stdlib.h" 41 41 #include "libc/thread.h" 42 #include "../internal/common.h" 42 43 43 44 pthread_t pthread_self(void) … … 54 55 void *(*start_routine)(void *), void *arg) 55 56 { 57 not_implemented(); 56 58 return ENOTSUP; 57 59 } … … 59 61 int pthread_join(pthread_t thread, void **ret_val) 60 62 { 63 not_implemented(); 61 64 return ENOTSUP; 62 65 } … … 64 67 int pthread_detach(pthread_t thread) 65 68 { 69 not_implemented(); 66 70 return ENOTSUP; 67 71 } … … 69 73 int pthread_attr_init(pthread_attr_t *attr) 70 74 { 75 not_implemented(); 71 76 return ENOTSUP; 72 77 } … … 74 79 int pthread_attr_destroy(pthread_attr_t *attr) 75 80 { 81 not_implemented(); 76 82 return ENOTSUP; 77 83 }
Note:
See TracChangeset
for help on using the changeset viewer.