GNU libmicrohttpd 0.9.77
|
Implementation for thread functions. More...
Go to the source code of this file.
Macros | |
#define | MHD_set_thread_name_(t, n) (void) |
#define | MHD_set_cur_thread_name_(n) (void) |
Functions | |
int | MHD_create_thread_ (MHD_thread_handle_ID_ *thread, size_t stack_size, MHD_THREAD_START_ROUTINE_ start_routine, void *arg) |
Implementation for thread functions.
Definition in file mhd_threads.c.
#define MHD_set_cur_thread_name_ | ( | n | ) | (void) |
Definition at line 46 of file mhd_threads.c.
#define MHD_set_thread_name_ | ( | t, | |
n | |||
) | (void) |
Definition at line 45 of file mhd_threads.c.
int MHD_create_thread_ | ( | MHD_thread_handle_ID_ * | thread, |
size_t | stack_size, | ||
MHD_THREAD_START_ROUTINE_ | start_routine, | ||
void * | arg | ||
) |
Create a thread and set the attributes according to our options.
thread | handle to initialize |
stack_size | size of stack for new thread, 0 for default |
start_routine | main function of thread |
arg | argument for start_routine |
Definition at line 184 of file mhd_threads.c.