strongswan/src/libstrongswan/processing
Tobias Brunner dcc1ad6a23 Prevent deadlock while shutting down thread pool.
During destruction the main thread locks the mutex in processor_t and
waits on a condvar for threads to have terminated.  Because the mutex
has also to be locked to decrement the thread count the condvar cannot
be signaled before doing that as otherwise the main thread might already
be waiting to join the threads while locking the mutex and thus causing
a deadlock.
2011-06-08 11:44:42 +02:00
..
jobs Introduce a highest priority job for critical thread services 2011-05-16 15:24:15 +02:00
processor.c Prevent deadlock while shutting down thread pool. 2011-06-08 11:44:42 +02:00
processor.h Count number of threads active in each class, and reserve threads only if none active 2011-05-16 15:24:14 +02:00
scheduler.c Use CRITICAL job priority class for long running dispatcher jobs 2011-05-16 15:24:15 +02:00
scheduler.h Moved scheduler and thread pool to libstrongswan. 2010-09-02 19:04:18 +02:00