[Mongrel] [ANN] fastthread 0.6.1
mental at rydia.net
Sun Dec 31 02:04:32 EST 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20061231/5b51a1ca/attachment.bin
More information about the Mongrel-users