usage: inproc_thr