htslib.thread_pool

@file htslib/thread_pool.h Thread pool for multi-threading applications.

Members

Functions

hts_tpool_delete_result
void hts_tpool_delete_result(hts_tpool_result* r, int free_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_destroy
void hts_tpool_destroy(hts_tpool* p)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_dispatch
int hts_tpool_dispatch(hts_tpool* p, hts_tpool_process* q, void* function(void* arg) func, void* arg)

@param p Thread pool @param q Process queue @param func Function run by the thread pool @param arg Data for use by func() @return 0 on success -1 on failure

hts_tpool_dispatch2
int hts_tpool_dispatch2(hts_tpool* p, hts_tpool_process* q, void* function(void* arg) func, void* arg, int nonblock)

@param p Thread pool @param q Process queue @param func Function run by the thread pool @param arg Data for use by func() @param nonblock Non-blocking flag (see description) @return 0 on success -1 on failure

hts_tpool_dispatch3
int hts_tpool_dispatch3(hts_tpool* p, hts_tpool_process* q, void* function(void* arg) exec_func, void* arg, void function(void* arg) job_cleanup, void function(void* data) result_cleanup, int nonblock)

@param p Thread pool @param q Process queue @param exec_func Function run by the thread pool @param arg Data for use by func() @param job_cleanup Callback to clean up when discarding jobs @param result_cleanup Callback to clean up when discarding result data @param nonblock Non-blocking flag (see description) @return 0 on success -1 on failure

hts_tpool_init
hts_tpool* hts_tpool_init(int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_kill
void hts_tpool_kill(hts_tpool* p)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_next_result
hts_tpool_result* hts_tpool_next_result(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_next_result_wait
hts_tpool_result* hts_tpool_next_result_wait(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_attach
void hts_tpool_process_attach(hts_tpool* p, hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_destroy
void hts_tpool_process_destroy(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_detach
void hts_tpool_process_detach(hts_tpool* p, hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_empty
int hts_tpool_process_empty(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_flush
int hts_tpool_process_flush(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_init
hts_tpool_process* hts_tpool_process_init(hts_tpool* p, int qsize, int in_only)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_is_shutdown
int hts_tpool_process_is_shutdown(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_len
int hts_tpool_process_len(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_qsize
int hts_tpool_process_qsize(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_ref_decr
void hts_tpool_process_ref_decr(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_ref_incr
void hts_tpool_process_ref_incr(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_reset
int hts_tpool_process_reset(hts_tpool_process* q, int free_results)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_shutdown
void hts_tpool_process_shutdown(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process_sz
int hts_tpool_process_sz(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_result_data
void* hts_tpool_result_data(hts_tpool_result* r)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_size
int hts_tpool_size(hts_tpool* p)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_wake_dispatch
void hts_tpool_wake_dispatch(hts_tpool_process* q)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

hts_tpool
struct hts_tpool
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_process
struct hts_tpool_process
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_tpool_result
struct hts_tpool_result
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta