BitLab 0.1.0
BitLab: A Browser for the Bitcoin P2P Network and Blockchain
|
Go to the source code of this file.
Functions | |
pthread_t | thread_runner (void *(*start_routine)(void *), const char *name, void *arg) |
Thread runner function. | |
pthread_t thread_runner | ( | void *(*)(void *) | start_routine, |
const char * | name, | ||
void * | arg | ||
) |
Thread runner function.
This function is used to create a new thread.
start_routine | The function pointer to the start routine. |
name | The name of the thread. |
arg | The argument to pass to the start routine. |
Definition at line 9 of file thread.c.
References BITLAB_LOG, LOG_INFO, log_message(), and LOG_WARN.
Referenced by run_bitlab().