thread.c File Reference

#include <config.h>
#include <isc/thread.h>
#include <isc/util.h>

Go to the source code of this file.

Defines

#define THREAD_MINSTACKSIZE   (1024U * 1024)

Functions

isc_result_t isc_thread_create (isc_threadfunc_t func, isc_threadarg_t arg, isc_thread_t *thread)
void isc_thread_setconcurrency (unsigned int level)
void isc_thread_yield (void)


Detailed Description

Definition in file thread.c.


Define Documentation

#define THREAD_MINSTACKSIZE   (1024U * 1024)

Definition at line 32 of file thread.c.

Referenced by isc_thread_create().


Function Documentation

isc_result_t isc_thread_create ( isc_threadfunc_t  func,
isc_threadarg_t  arg,
isc_thread_t thread 
)

Definition at line 36 of file thread.c.

References ISC_R_SUCCESS, ISC_R_UNEXPECTED, and THREAD_MINSTACKSIZE.

Referenced by isc__taskmgr_create(), and isc__timermgr_create().

void isc_thread_setconcurrency ( unsigned int  level  ) 

Definition at line 74 of file thread.c.

References UNUSED.

Referenced by isc__taskmgr_create().

void isc_thread_yield ( void   ) 

Definition at line 83 of file thread.c.


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha