in reply to Re^2: Monitoring child threads
in thread Monitoring child threads

weismat:

OK, here's what I'd suggest... ;^)

Create a set of shared variables to maintain the child processes state and time of last update (like a watchdog). Then periodically wake up your main loop, and check for any thread whose last update time is too long whose state is not "DONE"....

...roboticus