mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
b9d70365a1
The number of work entries will be inconsistent with semaphore count if the work is canceled, in extreme case, semaphore count will overflow and fallback to 0 the workqueue will stop scheduling the enqueue work. Signed-off-by: chao an <anchao@xiaomi.com>