Closed deanlee closed 1 month ago
Improves the msgq_poll function by adding an early return if messages are ready or if the timeout is zero. This avoids unnecessary sleep & msg ready calls, enhancing performance and reducing overhead.
Improves the msgq_poll function by adding an early return if messages are ready or if the timeout is zero. This avoids unnecessary sleep & msg ready calls, enhancing performance and reducing overhead.