bc1139480f
If file descriptors get added and removed in rapid succession, the active watcher thread might not take notice of it and continues running. However, add() spawns a watcher thread whenever a file descriptor is added to an empty set. This could result in multiple watcher threads, which is fixed by a proper check for running watchers. |
||
---|---|---|
.. | ||
jobs | ||
processor.c | ||
processor.h | ||
scheduler.c | ||
scheduler.h | ||
watcher.c | ||
watcher.h |