www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - spawn/executeInNewThread and module this/~this

reply "Fyodor Ustinov" <ufm ufm.su> writes:
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.
Jan 29 2015
next sibling parent reply "ref2401" <refactor24 gmail.com> writes:
It's written here:
http://dlang.org/module.html#staticorder
Jan 29 2015
parent "Fyodor Ustinov" <ufm ufm.su> writes:
On Thursday, 29 January 2015 at 20:50:16 UTC, ref2401 wrote:
 It's written here:
 http://dlang.org/module.html#staticorder
Oops. Thnx!
Jan 29 2015
prev sibling parent =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
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
Jan 29 2015