On Sun, 31 Dec 2006 02:04:32 -0500 MenTaLguY <[EMAIL PROTECTED]> wrote:
> 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. Very nice mental, I'll push out new gems for unix and win32 later today. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://www.awprofessional.com/title/0321483502 -- The Mongrel Book http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users