Here is a definition courtesy of the "FreeBSD Developers' Handbook":

"A race condition is anomalous behavior caused by the unexpected
dependence on the relative timing of events. In other words, a
programmer incorrectly assumed that a particular event would always
happen before another."

In other words, if you are not explicitly managing the sequence of
events then all bets are off.

--- Ben




-----Original Message-----
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 5:22 PM
To: CF-Talk
Subject: Re: CF Wishlist


What is "race" conditions?

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector Commerce Builder



> You need to lock to prevent race conditions. If that is why you were 
> locking then yes, you should.
>
> But you do not need to lock to prevent memory corruption. So, if that 
> was the only reason you were locking, then no need.
>
>
>
> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 5:02 PM
> To: CF-Talk
> Subject: RE: CF Wishlist
>
>
> >
> > > From: "Raymond Camden" <[EMAIL PROTECTED]>
> > >
> > > cflock is _not_ necessary for memory issues anymore. You
> > still need it
> > > for logical reasons. For example:
> > >
> > > application.x = application.x + 1
> >
> > Whoah - not been following this thread closely, but did I miss 
> > something? You don't need to habitually lock Session, Server and 
> > Application variables anymore in CFMX?
> >
>
> Correct. But, it doesn't hurt either. I'll probably continue using it 
> just to be safe.
>
> ======================================================================
> =
> Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
>
> Email    : [EMAIL PROTECTED]
> Yahoo IM : morpheus
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>
> 

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to