hts_tpool_process_reset

Resets a process to the initial state.

This removes any queued up input jobs, disables any notification of new results/output, flushes what is left and then discards any queued output. Anything consumer stuck in a wait on results to appear should stay stuck and will only wake up when new data is pushed through the queue.

Returns 0 on success; -1 on failure

extern (C)
int
hts_tpool_process_reset

Meta