but when isnt there a chance of a race condition occuring.
to me, on any HA site, you might have the opportunity for
a race condition occuring.  things with computers, as I have
learned over the years, are cut and dry 1's and 0', why can no
one give us a definitive answer on locking shared scope variables?

off I go into the wild locking yonder.....locking locking locking away
:)

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337 

-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 06, 2003 8:52 AM
To: CF-Talk
Subject: Re: yet another locking ?


Dave,

With CFMX you do not need to use CFLOCK on shared scope variables
(session,
application, server) UNLESS there is a chance of a race condition
occurring.

See
http://users.evitech.fi/~tk/rtp/parallel-programming-theory.html#race_co
ndit
ion for a brief description of race conditions.

Regards

Stephen


----- Original Message -----
From: "Dave Lyons" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 1:38 PM
Subject: yet another locking ?


> im a bit confused and after scouring through the archives and all my
emails and the MM boards, I am left a bit confused.
> I'm running cfmx
> and I have seen that some people say that with cfmx that you don't
need to
lock your sessions at all and some say you need to lock everything.
>
> most of my sites wont need to be locked I'm assuming, small ones,
mostly
with just 1 admin user at a time.
>
> But I have several huge sites coming up (one of the reasons I am
moving
over to cfm) and the will have several hundred to over a 1000 people on
at a
time.
>
> I'm more concerned with the bigger sites obviously.
> I cant really find my answer in either book I am reading either (bens
big
ass, heavier than sh*t, already crushed my frickin foot with goliath!
excellent book though!) and (the 10 steps book) btw~ both books need
more
pix! ha-ha
>
> so I wanted your guys recommendations
>
>
> Dave
>
> -------------- .::. -----------------------------------------
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to