]> git.ipfire.org Git - thirdparty/strongswan.git/commit
processor: add an execute_job() method to directly execute an important job
authorMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 09:37:42 +0000 (11:37 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 14:00:31 +0000 (16:00 +0200)
commit6653e6c13e61da0753625af13de62c46d1ceeb48
treefae7def33a3e4163050ebf1709353ed1ca7b1493
parent55240835b0562a35025d261d85dd2bb04446d350
processor: add an execute_job() method to directly execute an important job

If all worker threads are busy and waiting for an event, we must ensure that
a job delivering that event gets executed. This new method has this property
for CRITICAL jobs, using a worker if we have one, but executing the job directly
if not.
src/libstrongswan/processing/processor.c
src/libstrongswan/processing/processor.h