[Mongrel] [ANN] fastthread 0.6.1

Luis Lavena
Mon, 01 Jan 2007 04:21:56 -0000

On 12/31/06, Zed A. Shaw <zedshaw at zedshaw.com>
wrote:
> On Sun, 31 Dec 2006 02:04:32 -0500
> MenTaLguY <mental at rydia.net> 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.
>

Hey Zed, I already uploaded the mswin32 gem of fastthread 0.6.1 ...

btw, Happy New Year!

--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi