Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizes unnecessary select iterations.
When the application already knows about the executables in the queue, we don't need select to terminate with EINTR. We either ran the executable and the queue is empty (in which case we want select to sleep), or we know the queue is not empty and thus will run select with a timeout of 0.
- Loading branch information