htsThreadPool

A combined thread pool and queue allocation size. The pool should already be defined, but qsize may be zero to indicate an appropriate queue size is taken from the pool. Reasons for explicitly setting it could be where many more file descriptors are in use than threads, so keeping memory low is important.

extern (C)
struct htsThreadPool {}

Members

Variables

pool
hts_tpool* pool;

Undocumented in source.

qsize
int qsize;

Undocumented in source.

Meta