Hi all,
I'm running Command
s in a threadpool::ThreadPool
, and I need to apply a timeout to each command (i.e., I don't want them running longer that x
number of minutes).
I've tried using the try_wait
function on a Child
in a loop, things seem to get hung up and never finish.
Any suggestions?
Thanks!