mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
9f835f63bd
reason: Since we decoupled counting and sem count, we changed the meanings of three key global variables: g_iob_count: A positive number indicates the available number of IOBs, while a negative number indicates the number of waiters in iob_alloc (when throttle == false). g_throttle_wait: Represents the number of waiters in iob_alloc (when throttle == true), and it will not be negative. g_qentry_wait: Represents the number of waiters for qentry, and it will not be negative. Signed-off-by: hujun5 <hujun5@xiaomi.com>