Thread overview | |||||
---|---|---|---|---|---|
|
December 16, 2014 detaching a thread from druntime <2.067 | ||||
---|---|---|---|---|
| ||||
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 Re: detaching a thread from druntime <2.067 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | 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 Re: detaching a thread from druntime <2.067 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | 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.
|
Copyright © 1999-2021 by the D Language Foundation