Problem about multi-thread programming
    Chris Cain 
    clcain at uncg.edu
       
    Sun May  6 03:39:02 PDT 2012
    
    
  
On Sunday, 6 May 2012 at 04:52:48 UTC, Tongzhou Li wrote:
> Thanks. Now it works fine with gdc, but still prints nothing 
> with dmd. It seems that "cv[0].notify()" on line 29 affects 
> nothing at all when using dmd2 :(
I'm not exactly sure what's going on for it not to work for you, 
but here's the code I have (I used stdout.flush() because in some 
command prompts it won't display until it reaches a new line '\n' 
character otherwise). Maybe this will work better.
https://gist.github.com/5a9b7f611f33ee143880
    
    
More information about the Digitalmars-d-learn
mailing list