]> git.ipfire.org Git - thirdparty/strongswan.git/commit
processor: force synchronous execute_job() if set_threads(0) has been called
authorMartin Willi <martin@revosec.ch>
Fri, 19 Jul 2013 13:27:07 +0000 (15:27 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 19 Jul 2013 13:30:22 +0000 (15:30 +0200)
commitdcd5129c2524401ebc0e566bfd389157e61d31f6
tree2f8f20147c689df7d5651d7040453d66288544bf
parent2fa92ad25648dbe3e54a06cff15ae41068797c59
processor: force synchronous execute_job() if set_threads(0) has been called

During daemon shutdown, some idle threads might be lingering around even if
set_threads(0) already has been called. To avoid any races, we enforce
synchronous execution of the job.
src/libstrongswan/processing/processor.c