watcher: if the processor has no threads, execute the job with watcher thread
authorMartin Willi <martin@revosec.ch>
Tue, 2 Jul 2013 09:01:10 +0000 (11:01 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 14:00:29 +0000 (16:00 +0200)
commit91a2ae644c2ab6c2fdeb1870bc04e79c255331be
treea9ad6d5d43fd281667e04327bcfa934dedade567
parent50720d7ce91e2c260798052156f056734d5a751f
watcher: if the processor has no threads, execute the job with watcher thread

This is important during shutdown, where we might need to signal some FDs while
all idle threads are gone already.
src/libstrongswan/processing/watcher.c