strongswan/src/libstrongswan/processing
Martin Willi bc1139480f watcher: Prevent race condition spawning multiple watcher threads
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.
2014-06-17 15:19:47 +02:00
..
jobs Moved data structures to new collections subfolder 2012-10-24 16:00:49 +02:00
processor.c processor: Flush pending jobs during cancel(), not destroy 2014-05-07 14:13:34 +02:00
processor.h processor: remove the now unused get_threads() method again 2013-07-18 16:00:31 +02:00
scheduler.c Moved debug.[ch] to utils folder 2012-10-24 16:00:51 +02:00
scheduler.h Fixed common misspellings. 2011-07-20 16:14:10 +02:00
watcher.c watcher: Prevent race condition spawning multiple watcher threads 2014-06-17 15:19:47 +02:00
watcher.h Fix various API doc issues and typos 2013-07-18 18:30:36 +02:00