Thread overview
spawn/executeInNewThread and module this/~this
Jan 29, 2015
Fyodor Ustinov
Jan 29, 2015
ref2401
Jan 29, 2015
Fyodor Ustinov
Jan 29, 2015
Ali Çehreli
January 29, 2015
Hi!

Nowhere is it written that the start of a new thread also launch this() for module (and stop a thread launch ~this()). It really is not written anywhere or I just missed?

WBR,
    Fyodor.
January 29, 2015
It's written here:
http://dlang.org/module.html#staticorder
January 29, 2015
On Thursday, 29 January 2015 at 20:50:16 UTC, ref2401 wrote:
> It's written here:
> http://dlang.org/module.html#staticorder

Oops. Thnx!
January 29, 2015
On 01/29/2015 12:11 PM, Fyodor Ustinov wrote:
> Hi!
>
> Nowhere is it written that the start of a new thread also launch this()
> for module (and stop a thread launch ~this()). It really is not written
> anywhere or I just missed?
>
> WBR,
>      Fyodor.

I imply it here:

  http://ddili.org/ders/d.en/modules.html#ix_modules.static%20this

and here:


http://ddili.org/ders/d.en/concurrency_shared.html#ix_concurrency_shared.shared%20static%20this

Ali