mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 04:38:10 +00:00
pthread_condclockwait() can not distinguish between interrupt and timeout, which cause these API not follow POSIX: pthread_rwlock_timedrdlock() pthread_rwlock_timedwrlock() pthread_condtimedwait() POSIX: Upon return from the signal handler the thread resumes waiting for the condition variable as if it wasnot interrupted These functions shall not return an error code of [EINTR]. Replacing nxsem_wait() with nxsem_clockwait_uninterruptible() can solve it. Signed-off-by: jihandong <jihandong@xiaomi.com> |
||
|---|---|---|
| .. | ||
| Make.defs | ||
| pthread.h | ||
| pthread_cancel.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 | ||