Motr
M0
|
#include "motr/st/st_misc.h"
#include "motr/st/st.h"
#include <stdint.h>
#include <errno.h>
#include <pthread.h>
#include "lib/thread.h"
Go to the source code of this file.
Typedefs | |
typedef pthread_t | st_thread_t |
Functions | |
static int | thread_init (st_thread_t **ret_th, void *(*func)(void *), void *args,...) |
void | thread_exit (void) |
static int | thread_join (st_thread_t *th) |
static void | thread_fini (st_thread_t *th) |
static void * | st_worker (void *in) |
int | st_start_workers (void) |
int | st_stop_workers (void) |
Variables | |
static st_thread_t ** | workers = NULL |
typedef pthread_t st_thread_t |
Definition at line 98 of file st_worker.c.
|
static |
Definition at line 149 of file st_worker.c.
void thread_exit | ( | void | ) |
|
static |
Definition at line 136 of file st_worker.c.
|
static |
Definition at line 101 of file st_worker.c.
|
static |
Definition at line 123 of file st_worker.c.
|
static |
Definition at line 99 of file st_worker.c.