Depending on the needs of the program, I used multi-threads within a sub-thread for parallel tasking. In this "deep" multi-threading, potential problems such as timeouts and failures may be encountered.
I would like to ask, how to kill all child threads (known as "deep" multi-threading above) when one of them raise an exception or failed.