Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iiod: thread_pool: Add helper thread_pool_purge_events()
Factorize the code that purges all the data left in the event file descriptor into a function named thread_pool_purge_events(). This function is only called once for now, but it will be used again in a future commit. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
- Loading branch information