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

0ffh spam at frankhirsch.net
Mon Oct 8 13:37:45 PDT 2007


Sean Kelly wrote:
> For what it's worth, Java has pause/resume as deprecated members of its 
> Thread class.  I suspect they originally included them for garbage 
> collection as well, and deprecated them when people started using them 
> for synchronization (they're a fantastic way to deadlock an app).  Doug 
> Lea's containers and such use them, for example, because Java does not 
> offer standalone mutexes, semaphores, etc.

I seem to remember darkly, there were at least monitors in Java.
It might be a bit of an abstraction inversion, but other synchronisation
primitives might be built from them, if they are indeed present...

Regads, frank



More information about the Digitalmars-d mailing list