[D-runtime] A mechanism to kill threads

Alex Rønne Petersen xtzgzorex at gmail.com
Wed May 16 10:04:48 PDT 2012


Hi,

In my virtual machine, I need to be able to kill daemon threads on
shutdown. The problem is that VM shutdown is *not* tightly coupled to
druntime shutdown; multiple VM instances can run in a process at any
given time, and can be started/stopped whenever. It doesn't appear
like there is any functionality in core.thread to achieve this.

Is there any reason we don't have a Thread.kill() function?

Regards,
Alex


More information about the D-runtime mailing list