22 #include <yaz/yconfig.h>
43 int *
read_fd,
int no_of_threads);
static void work_handler(void *work_data)
struct sel_thread * sel_thread_t
select thread handler type
void * sel_thread_result(sel_thread_t p)
gets result of work
void sel_thread_add(sel_thread_t p, void *data)
adds work to be carried out in thread
sel_thread_t sel_thread_create(void(*work_handler)(void *work_data), void(*work_destroy)(void *work_data), int *read_fd, int no_of_threads)
creates select thread
void sel_thread_destroy(sel_thread_t p)
destorys select thread
static void work_destroy(void *vp)
how work is destructed