DMD 1.022 and 2.005 releases - what's wrong with threading?

Walter Bright newshound1 at digitalmars.com
Sun Oct 7 10:57:31 PDT 2007


David Brown wrote:
>   - 'pause/resume' is not a useful thread primitive.  As we've seen by
>     sample code, just doing simple things is dreadfully difficult, and very
>     easy to get wrong, having deadlocks, starvation, and other issues.

The main reason for the existence of pause/resume is so the garbage 
collector can pause all the threads, do a gc sweep, then resume them.



More information about the Digitalmars-d mailing list