DTNMA Reference Tools v2.4.0 - 0.g737f35c
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
threadset.c File Reference
#include "threadset.h"
#include "defs.h"
#include "logging.h"
#include <errno.h>
+ Include dependency graph for threadset.c:

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.
 

Function Documentation

◆ cace_threadset_join()

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().

◆ cace_threadset_start()

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().