aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/processing/scheduler.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Centralized thread cancellation in processor_tTobias Brunner2012-06-251-9/+4
| | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation.
* Give processor_t more control over the lifecycle of a jobTobias Brunner2012-06-251-0/+1
| | | | | | | | | | | Jobs are now destroyed by the processor, but they are allowed to reschedule themselves. That is, parts of the reschedule functionality already provided by callback_job_t is moved to the processor. Not yet fully supported is JOB_REQUEUE_DIRECT and canceling jobs. Note: job_t.destroy() is now called not only for queued jobs but also after execution or cancellation of jobs. job_t.status can be used to decide what to do in said method.
* Use CRITICAL job priority class for long running dispatcher jobsMartin Willi2011-05-161-1/+2
|
* Migrated scheduler_t to INIT/METHOD macrosMartin Willi2011-05-051-33/+24
|
* Refer to scheduler and processor via lib and not hydra.Tobias Brunner2010-09-021-3/+2
|
* Moved scheduler and thread pool to libstrongswan.Tobias Brunner2010-09-021-0/+359