extern(C)
{
void rt_moduleTlsCtor();
void rt_moduleTlsDtor();
}
Re: Bypassing std.concurrency.exec()
Johannes Blume via Digitalmars-d Thu, 07 Aug 2014 01:36:07 -0700
Another thing you should keep in mind is that thread_attachThis()
does not invoke any module TLS constructors, so you should also
call rt_moduleTlsCtor() unless you are absolutely sure none of
the modules you use have one. Call rt_moduleTlsCtor() before you
detach the thread. Those functions are not part of the official
API, so you might have to declare them with
- Bypassing std.concurrency.exec() Don Viszneki via Digitalmars-d
- Re: Bypassing std.concurrency.exec() Don Viszneki via Digitalmars-d
- Re: Bypassing std.concurrency.ex... Don Viszneki via Digitalmars-d
- Re: Bypassing std.concurrenc... Don Viszneki via Digitalmars-d
- Re: Bypassing std.concur... Johannes Blume via Digitalmars-d
