Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs_poll: race condition protection when modifying revents value
pollfd revents value is occasionally zeroed by race condition when poll_notify() is called. This results to false timeout return value from poll(). This behaviour was found out when application called tcdrain() before calling uart poll(). Signed-off-by: Tero Salminen <[email protected]>
- Loading branch information