aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/processing/processor.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-07-01 18:34:08 +0200
committerMartin Willi <martin@revosec.ch>2013-07-18 16:00:29 +0200
commita558ba16f314d250ef62a593e66e263123a0e9a3 (patch)
tree19d66cccf63919a0a4bc4636cbdbd63a8bc62fb4 /src/libstrongswan/processing/processor.c
parente6e8a2b2e01e91f75048fd4a33e04a0a7612bd12 (diff)
downloadstrongswan-a558ba16f314d250ef62a593e66e263123a0e9a3.tar.bz2
strongswan-a558ba16f314d250ef62a593e66e263123a0e9a3.tar.xz
watcher: release threads waiting in remove() when watcher thread gets cancelled
During daemon shutdown, users might call remove() after processor.set_threads(0) has been called. This gets problematic, as a watch event might be unable to signal completion when no threads are available anymore. Work around this issue by cancelling waiters once processor.cancel() has been called.
Diffstat (limited to 'src/libstrongswan/processing/processor.c')
0 files changed, 0 insertions, 0 deletions