nuttx/sched/pthread
Masayuki Ishikawa 8ba67b7ec9 sched: pthread: Fix potential bugs in pthread_condclockwait.c
Summary:
- I found potential bugs in pthread_condclockwait.c
- Actually, sched_unlock() and wd_cancel() were misplaced.
- This commit fixes this issue

Impact:
- pthread_cond_clockwait() only

Testing:
- Tested with ostest with the following configs
- sabre-6quad:nsh, sabre-6quad:smp, sim:ostest

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-14 21:11:05 -06:00
..
Make.defs
pthread_cancel.c
pthread_cleanup.c
pthread_completejoin.c
pthread_condbroadcast.c
pthread_condclockwait.c
pthread_condsignal.c
pthread_condwait.c
pthread_create.c
pthread_detach.c
pthread_exit.c
pthread_findjoininfo.c
pthread_getaffinity.c
pthread_getschedparam.c
pthread_initialize.c
pthread_join.c
pthread_kill.c
pthread_mutex.c
pthread_mutexconsistent.c
pthread_mutexdestroy.c
pthread_mutexinconsistent.c
pthread_mutexinit.c
pthread_mutextimedlock.c
pthread_mutextrylock.c
pthread_mutexunlock.c
pthread_release.c
pthread_setaffinity.c
pthread_setschedparam.c
pthread_setschedprio.c
pthread_sigmask.c
pthread.h