mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
102a6357ca
There is a potential problem that can lead to deadlock at condition wait, if the timeout of watchdog is a very small value (1 tick ?), the timer interrupt will come before the nxsem_wait() Revert "sched: pthread: Remove a redundant critical section in pthread_condclockwsait.c" Revert "sched: semaphore: Remove a redundant critical section in nxsem_clockwait()" Revert "sched: semaphore: Remove a redundant critical section in nxsem_tickwait()" This reverts commit7758f3dcb1. This reverts commit2976bb212e. This reverts commit65dec5d10a. Signed-off-by: chao.an <anchao@xiaomi.com>