[D-runtime] A mechanism to kill threads

Alex Rønne Petersen xtzgzorex at gmail.com
Wed May 16 14:40:24 PDT 2012


So you are against adding this functionality to druntime even with a
big, fat, red warning explaining why it's unsafe and how *not* to use
it?

Regards,
Alex

On Wed, May 16, 2012 at 11:38 PM, Sean Kelly <sean at invisibleduck.org> wrote:
> On May 16, 2012, at 10:04 AM, Alex Rønne Petersen wrote:
>>
>> Is there any reason we don't have a Thread.kill() function?
>
> Because Thread.kill() is inherently unsafe.  If a user really wants to expose that functionality he can subclass Thread.
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime


More information about the D-runtime mailing list