digitalmars.D.learn - detaching a thread from druntime <2.067
- Ellery Newcomer (5/5) Dec 15 2014 If I have a thread that I need to detach from druntime, I can call
- Sean Kelly (3/8) Dec 16 2014 thread_detachThis?
- Ellery Newcomer (2/9) Dec 16 2014 the thread I want to detach isn't currently running.
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..
Dec 15 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?
Dec 16 2014
On 12/16/2014 10:41 AM, Sean Kelly wrote:On Tuesday, 16 December 2014 at 04:56:10 UTC, Ellery Newcomer wrote:the thread I want to detach isn't currently running.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?
Dec 16 2014