How are theads, Tid and spawn related?
    Ali Çehreli via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sat Nov  1 23:23:38 PDT 2014
    
    
  
On 11/01/2014 11:13 PM, Sean Kelly wrote:
 > Note that thread_joinAll is called automatically when main exits
Has that always been the case? I remember having to inject 
thread_joinAll() calls at the ends of the main()s of a couple of 
examples because of having trouble otherwise.
Can I safely remove thread_joinAll()s if they are the last lines in main()?
Ali
    
    
More information about the Digitalmars-d-learn
mailing list