incubator-nuttx/sched/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
..
Make.defs Squashed commit of the following: 2019-04-29 14:52:05 -06:00
pthread.h included/pthreads, sched/pthreads, and Documetions: Updates after review of last PR. 2019-02-24 14:40:11 -06:00
pthread_cancel.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_cleanup.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
pthread_completejoin.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_condbroadcast.c tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c. 2019-03-01 10:50:02 -06:00
pthread_condsignal.c tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c. 2019-03-01 10:50:02 -06:00
pthread_condtimedwait.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_condwait.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_create.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_detach.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_exit.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_findjoininfo.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_get_stackaddr_np.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_get_stacksize_np.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_getaffinity.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_getschedparam.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_getspecific.c sched/pthread, Documentation: fix pthread_key_delete, pthread_self and pthread_yield documentation and some comments. 2019-10-17 11:04:17 -06:00
pthread_initialize.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_join.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_keycreate.c sched/pthread, Documentation: fix pthread_key_delete, pthread_self and pthread_yield documentation and some comments. 2019-10-17 11:04:17 -06:00
pthread_keydelete.c arch/arm/src/imxrt/chip/imxrt106x_pinmux.h: Add FLEXCAN3 to pinmux 2018-12-28 15:08:20 -06:00
pthread_kill.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_mutex.c included/pthreads, sched/pthreads, and Documetions: Updates after review of last PR. 2019-02-24 14:40:11 -06:00
pthread_mutexconsistent.c Fix various issues noted by Coverity 2018-02-06 09:13:16 -06:00
pthread_mutexdestroy.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_mutexinconsistent.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_mutexinit.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_mutextimedlock.c libs/libc/pthread, syscall/, and include/sys/syscall.h: Support for pthread_mutex_timedlock() was added recently, however no new system call was added for the API make is usable only in the FLAT build. With a pthread_mutex_timedlock() system call, there is no reason for a pthread_mutex_lock() system call since it is now nothing more than an wrapper around pthread_mutex_timedlock(), passing NULL for the time value. The pthread_mutex_lock() syscall was removed and the pthread_mutex_lock() implemented was moved from /sched/pthread to where it now belows in libs/libc/pthread. 2019-02-25 18:19:13 -06:00
pthread_mutextrylock.c tools/nxstyle.c: Add logic to detect if there is a blank line following the final right brace. sched/: Applied the modified nxstyle to all C file as a test. 2019-10-24 11:02:42 -06:00
pthread_mutexunlock.c tools/nxstyle.c: Fix error in conditional logic that was preventing detection bad brace alignment. Add logic to handle alignment of braces in data initializators which following slightly different indentation rules. 2019-06-30 10:35:10 -06:00
pthread_release.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pthread_setaffinity.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_setschedparam.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
pthread_setschedprio.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
pthread_setspecific.c sched/pthread, Documentation: fix pthread_key_delete, pthread_self and pthread_yield documentation and some comments. 2019-10-17 11:04:17 -06:00
pthread_sigmask.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00