introduced callback_job:
authorMartin Willi <martin@strongswan.org>
Mon, 11 Jun 2007 10:57:19 +0000 (10:57 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 11 Jun 2007 10:57:19 +0000 (10:57 -0000)
commit9fe1a1ca7617bb562750864aae1892ece1a6a1e6
tree057d73714d52c09c40950927fede15e73cd6793b
parentaca0317d92c4141e1b48c7081f39d8646bd4767d
introduced callback_job:
  simple asynchronous method invocation
  use daemons thread pool for all threads
  proper cancellation and cleanups
  cancellation mechanism to dynamically unload multithreaded code
unified event_queue and scheduler => scheduler
unified job_queue and thread_pool => processor
removed job_type_t, not really needed
fixes here, there and everywhere
36 files changed:
src/charon/Makefile.am
src/charon/bus/bus.c
src/charon/control/interfaces/stroke_interface.c
src/charon/control/interfaces/xml_interface.c
src/charon/daemon.c
src/charon/daemon.h
src/charon/kernel/kernel_interface.c
src/charon/network/receiver.c
src/charon/network/sender.c
src/charon/processing/event_queue.c [deleted file]
src/charon/processing/event_queue.h [deleted file]
src/charon/processing/job_queue.c [deleted file]
src/charon/processing/job_queue.h [deleted file]
src/charon/processing/jobs/acquire_job.c
src/charon/processing/jobs/callback_job.c [new file with mode: 0644]
src/charon/processing/jobs/callback_job.h [new file with mode: 0644]
src/charon/processing/jobs/delete_child_sa_job.c
src/charon/processing/jobs/delete_ike_sa_job.c
src/charon/processing/jobs/job.c [deleted file]
src/charon/processing/jobs/job.h
src/charon/processing/jobs/process_message_job.c
src/charon/processing/jobs/rekey_child_sa_job.c
src/charon/processing/jobs/rekey_ike_sa_job.c
src/charon/processing/jobs/retransmit_job.c
src/charon/processing/jobs/send_dpd_job.c
src/charon/processing/jobs/send_keepalive_job.c
src/charon/processing/processor.c [new file with mode: 0644]
src/charon/processing/processor.h [new file with mode: 0644]
src/charon/processing/scheduler.c
src/charon/processing/scheduler.h
src/charon/processing/thread_pool.c [deleted file]
src/charon/processing/thread_pool.h [deleted file]
src/charon/sa/ike_sa.c
src/charon/sa/task_manager.c
src/charon/sa/tasks/child_rekey.c
src/charon/sa/tasks/ike_rekey.c