Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Centralized thread cancellation in processor_t | Tobias Brunner | 2012-06-25 | 1 | -2/+10 |
| | | | | | | | | | | 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 job | Tobias Brunner | 2012-06-25 | 1 | -1/+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. | ||||
* | Count number of threads active in each class, and reserve threads only if ↵ | Martin Willi | 2011-05-16 | 1 | -1/+9 |
| | | | | none active | ||||
* | Processor job scheduling respects job priority classes | Martin Willi | 2011-05-16 | 1 | -2/+3 |
| | |||||
* | Moved scheduler and thread pool to libstrongswan. | Tobias Brunner | 2010-09-02 | 1 | -0/+94 |