An hts_tpool_process implements a queue of input jobs to process and a
queue of resulting output post-processing. Internally it consists of two
buffered queues, analogous to the pipes in a unix pipeline:
...input | process | output...
Both input and output queues have size limits to prevent either queue from
growing too large and serial numbers to ensure sequential consumption of
the output.
The thread pool may have many heterogeneous tasks, each using its own
process mixed into the same thread pool.
An hts_tpool_process implements a queue of input jobs to process and a queue of resulting output post-processing. Internally it consists of two buffered queues, analogous to the pipes in a unix pipeline: ...input | process | output...
Both input and output queues have size limits to prevent either queue from growing too large and serial numbers to ensure sequential consumption of the output.
The thread pool may have many heterogeneous tasks, each using its own process mixed into the same thread pool.