diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-06 16:46:39 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-06 16:46:39 +0000 |
commit | a6cbf648312606089d352b8d3dda4ada66445603 (patch) | |
tree | 214a87d1d8f9633e564ba8f92b5da5cb1dd72497 /Source/charon/queues/event_queue.h | |
parent | 3febcf15f0cba8b17ab3bdb67c3d0864ef61080c (diff) | |
download | strongswan-a6cbf648312606089d352b8d3dda4ada66445603.tar.bz2 strongswan-a6cbf648312606089d352b8d3dda4ada66445603.tar.xz |
- docs updated
Diffstat (limited to 'Source/charon/queues/event_queue.h')
-rw-r--r-- | Source/charon/queues/event_queue.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/charon/queues/event_queue.h b/Source/charon/queues/event_queue.h index 41700cf17..a60424100 100644 --- a/Source/charon/queues/event_queue.h +++ b/Source/charon/queues/event_queue.h @@ -32,10 +32,18 @@ typedef struct event_queue_t event_queue_t; /** * @brief Event-Queue used to store timed events. + * + * Added events are sorted. The get method blocks until + * the time is elapsed to process the next event. The get + * method is called from the scheduler_t thread, which + * will add the jobs to to job_queue_t for further processing. * * Although the event-queue is based on a linked_list_t * all access functions are thread-save implemented. * + * @b Constructors: + * - event_queue_create() + * * @ingroup queues */ struct event_queue_t { @@ -93,15 +101,14 @@ struct event_queue_t { * after calling this function. * * @param event_queue calling object - * @returns always SUCCESS */ void (*destroy) (event_queue_t *event_queue); }; /** - * @brief Creates an empty event_queue + * @brief Creates an empty event_queue. * - * @returns event_queue + * @returns event_queue_t object * * @ingroup queues */ |