strongswan/src/libcharon/processing/jobs
Tobias Brunner e0efd7c121 Make rescheduling a job more predictable
This avoids race conditions between calls to cancel() and jobs that like
to be rescheduled.  If jobs were able to reschedule themselves it would
theoretically be possible that two worker threads have the same job
assigned (the one currently executing the job and the one executing the
same but rescheduled job if it already is time to execute it), this means
that cancel() could be called twice for that job.

Creating a new job based on the current one and reschedule that is also
OK, but rescheduling itself is more efficient for jobs that need to be
executed often.
2012-06-25 17:49:12 +02:00
..
acquire_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
acquire_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
adopt_children_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
adopt_children_job.h Try to detect reauthentication as responder and adopt children to new SA 2012-03-20 17:31:33 +01:00
delete_child_sa_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
delete_child_sa_job.h Do not query CHILD_SA during delete if they already expired 2012-03-20 17:31:31 +01:00
delete_ike_sa_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
delete_ike_sa_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
dpd_timeout_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
dpd_timeout_job.h Schedule a DPD timeout job that enforces the IKE message timeout policy 2012-05-15 14:46:02 +02:00
inactivity_job.c Make rescheduling a job more predictable 2012-06-25 17:49:12 +02:00
inactivity_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
initiate_mediation_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
initiate_mediation_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
mediation_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
mediation_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
migrate_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
migrate_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
process_message_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
process_message_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
rekey_child_sa_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
rekey_child_sa_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
rekey_ike_sa_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
rekey_ike_sa_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
retransmit_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
retransmit_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
retry_initiate_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
retry_initiate_job.h Job added to re-initiate an IKE_SA. 2012-05-30 15:32:52 +02:00
roam_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
roam_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
send_dpd_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
send_dpd_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
send_keepalive_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
send_keepalive_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00
start_action_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
start_action_job.h replaced ipsec up %startall command by start_action job 2011-02-09 22:27:04 +01:00
update_sa_job.c Give processor_t more control over the lifecycle of a job 2012-06-25 17:10:28 +02:00
update_sa_job.h Fixing Doxygen groups after moving processor. 2010-09-02 19:01:22 +02:00