Project

General

Profile

Feature #3

refactoring of thread management

Added by Martin Willi about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
charon
Target version:
Start date:
Due date:
Estimated time:
Resolution:

Description

Currently we instanciate threads everywhere in the daemon. This makes capability dropping, proper thread shutdown and cleanup and module implementation tricky and unclear.

We want to provide a generic asynchron execution helper by introducing a "callback_job". This callback job gets a callback and is executed by the thread pool. This allows us to do all blocking activities in the daemon with these jobs.

Further we want to merge the job_queue/thread_pool into a single object: the processor. We do the same for the event_queue, it will be integrated into the scheduler for simplicity.

History

#1 Updated by Martin Willi about 13 years ago

  • Status changed from New to Closed
  • Affected version set to fixed

Also available in: Atom PDF