nuttx/libs/libc/pthread
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
Kconfig Squashed commit of the following: 2019-03-04 14:22:50 -06:00
Make.defs include/pthread.h and libs/libc/pthread/pthread_spinlock.c: Add a very preliminary implementation of the new POSIX pthread_spinlock_* interfaces. This feature is marked EXPERIMENTAL. There are usage model issues to be examined and there are also architectural issues that currently limit the implemantion to the FLAT build (that is, however, fixable when the APIs are needed. 2019-02-28 10:21:05 -06:00
pthread_attr_destroy.c
pthread_attr_getaffinity.c
pthread_attr_getinheritsched.c
pthread_attr_getschedparam.c
pthread_attr_getschedpolicy.c
pthread_attr_getstack.c
pthread_attr_getstacksize.c Fix several ZNeo compile issues. There are more. Pthreads: Fix a could of places where FAR was added when it is not appropriate. This matters to ZNeo which depends on definitions of NEAR and FAR points. 2019-06-03 13:06:58 -06:00
pthread_attr_init.c
pthread_attr_setaffinity.c
pthread_attr_setinheritsched.c
pthread_attr_setschedparam.c
pthread_attr_setschedpolicy.c
pthread_attr_setstack.c
pthread_attr_setstacksize.c include/pthread.h and libs/libcpthread: Fixed pthread_attr_get/setstacksize param type to size_t. 2019-04-04 10:33:57 -06:00
pthread_barrierattr_destroy.c
pthread_barrierattr_getpshared.c
pthread_barrierattr_init.c
pthread_barrierattr_setpshared.c
pthread_barrierdestroy.c
pthread_barrierinit.c
pthread_barrierwait.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_condattr_destroy.c
pthread_condattr_init.c
pthread_conddestroy.c
pthread_condinit.c
pthread_mutex_lock.c
pthread_mutexattr_destroy.c
pthread_mutexattr_getprotocol.c
pthread_mutexattr_getpshared.c
pthread_mutexattr_getrobust.c
pthread_mutexattr_gettype.c
pthread_mutexattr_init.c
pthread_mutexattr_setprotocol.c
pthread_mutexattr_setpshared.c
pthread_mutexattr_setrobust.c
pthread_mutexattr_settype.c
pthread_once.c
pthread_rwlock.c
pthread_rwlock_rdlock.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_rwlock_wrlock.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_setcancelstate.c
pthread_setcanceltype.c
pthread_spinlock.c Update README and C comments. 2019-03-05 06:33:42 -06:00
pthread_startup.c
pthread_testcancel.c
pthread_yield.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00