[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]New monitor implementation

From: Thong \(Tum\) Nguyen
Subject: [DotGNU]New monitor implementation
Date: Thu, 26 Jun 2003 10:33:35 +1200

Hiya folks,

I've just submitted an updated patch for threading.  The patch has the
following changes:

- Process now waits for user threads to exit before exiting itself.

- New monitor implementation :D.  The last one used GC memory to store
monitors which fails miserably if the object being locked is a primitive
array or string.  Took a while to figure out but the reason is because
arrays are allocated in memory the GC doesn't scan (for speed).  One
bonus is that the new implementation is faster and has good potential
for speed improvements.

Get it here :-).

PS.  Still trying to get the relevant parts of pnet threadsafe so you
might get random core dumps (especially if you're using lots of threads
and thrashing them).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]