[Mongrel] [ANN] fastthread 0.6.1

MenTaLguY
Sun, 31 Dec 2006 07:04:32 -0000

I just realized -- if fastthread can be included while Mutex-using code
is already running, then the definition and replacement of the classes
needs to happen atomically.  Otherwise, it creates a race condition
where a thread can e.g. end up seeing an incompletely defined Mutex
class or none at all.

fastthread 0.6.1 addresses this by defining the classes and then
atomically swapping the constant definitions as a final step.

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part