aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/processing/processor.c
Commit message (Collapse)AuthorAgeFilesLines
* Log worker thread ID with two digits.Tobias Brunner2011-12-161-2/+2
|
* Fixed compiler warnings regarding enum comparison.Tobias Brunner2011-11-251-1/+1
| | | | | | | | | Warnings like comparison of unsigned expression < 0 is always false are reported with -Wextra when enum types that are compiled to an unsigned type (which is up to the compiler) are checked for negativity.
* Prevent deadlock while shutting down thread pool.Tobias Brunner2011-06-081-2/+2
| | | | | | | | | 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.
* Update working thread count without allocation.Tobias Brunner2011-05-161-22/+15
|
* Make sure working thread count is correctly updatedTobias Brunner2011-05-161-4/+23
|
* Count number of threads active in each class, and reserve threads only if ↵Martin Willi2011-05-161-16/+57
| | | | none active
* Reserve threads for job priority classes based on strongswan.conf optionsMartin Willi2011-05-161-1/+17
|
* Processor job scheduling respects job priority classesMartin Willi2011-05-161-11/+44
|
* Migrated processor to INIT/METHOD macrosMartin Willi2011-05-051-42/+35
|
* Do not invoke processor restart() if not requiredMartin Willi2011-03-151-1/+2
| | | | | Doing so might result in a deadlock during shutdown if a delayed restart is locked on the bus during the debug statement.
* Remove obsolete pool_size argument in processor_create()Martin Willi2010-11-161-1/+1
|
* Moved scheduler and thread pool to libstrongswan.Tobias Brunner2010-09-021-0/+273