Thread overview
detaching a thread from druntime <2.067
Dec 16, 2014
Ellery Newcomer
Dec 16, 2014
Sean Kelly
Dec 17, 2014
Ellery Newcomer
December 16, 2014
If I have a thread that I need to detach from druntime, I can call thread_detachInstance, but for 2.066, this function does not exist. Is there any way to do this in 2.066? I notice there is a thread_detachByAddr, but I'm not sure how to get a ThreadAddr out of a Thread..
December 16, 2014
On Tuesday, 16 December 2014 at 04:56:10 UTC, Ellery Newcomer wrote:
> If I have a thread that I need to detach from druntime, I can call thread_detachInstance, but for 2.066, this function does not exist. Is there any way to do this in 2.066? I notice there is a thread_detachByAddr, but I'm not sure how to get a ThreadAddr out of a Thread..

thread_detachThis?
December 17, 2014
On 12/16/2014 10:41 AM, Sean Kelly wrote:
> On Tuesday, 16 December 2014 at 04:56:10 UTC, Ellery Newcomer wrote:
>> If I have a thread that I need to detach from druntime, I can call
>> thread_detachInstance, but for 2.066, this function does not exist. Is
>> there any way to do this in 2.066? I notice there is a
>> thread_detachByAddr, but I'm not sure how to get a ThreadAddr out of a
>> Thread..
>
> thread_detachThis?

the thread I want to detach isn't currently running.