www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Task management

Hi,

can anyone tell me what is the good (for arbitrary low values of good)
way to forcibly end a running task?

I am using a task pool from std.parallelism to execute delegates
supplied by various plugins. As I have no real control over what gets
executed and how, there is always a possibility that some plugin hangs
for good. This is obviously something that I do not want, so I would
like to know whether there is a way to kill such unresponsive task.

Thanks,
Martin
Sep 14 2012