|
DTNMA Reference Tools v2.4.0 - 0.g737f35c
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
Definitions for managing POSIX worker threads within a process. More...
Include dependency graph for threadset.h:
This graph shows which files directly or indirectly include this file:Data Structures | |
| struct | cace_threadinfo_t |
| A thread descriptor used to spawn and join work threads. More... | |
Functions | |
| int | cace_threadset_start (cace_threadset_t tset, const cace_threadinfo_t *info, size_t count, void *arg) |
| Start a set of work threads. | |
| int | cace_threadset_join (cace_threadset_t tset) |
| Join a set of work threads. | |
Definitions for managing POSIX worker threads within a process.
| int cace_threadset_join | ( | cace_threadset_t | tset | ) |
Join a set of work threads.
The thread work functions must be returned from by separate control.
References CACE_LOG_ERR.
Referenced by main(), refda_agent_stop(), and refdm_mgr_stop().
| int cace_threadset_start | ( | cace_threadset_t | tset, |
| const cace_threadinfo_t * | info, | ||
| size_t | count, | ||
| void * | arg | ||
| ) |
Start a set of work threads.
References CACE_LOG_ERR, and CACE_LOG_INFO.
Referenced by main(), refda_agent_start(), and refdm_mgr_start().