well, your supposition is wrong :) sorry. I definitely understand a race condition. what I don't understand is this: If a race condition could occur, even 1 time out of 1 hundred thousand iterations, isnt that enough to lock it? I could imagine, if I had a shopping cart system, that I would EVER want someone to know what my CC info was, however, if a race condition is even somewhat a potentiality then even the smallest chance of occurrence is too much of a risk
wouldn't you agree? btw, here is what I found about six months ago, and read to help understand this concept, its pretty helpful...there is also a java based graphic/animation simulation that explains this, and you can actually watch it happen...not sure of the url but here is the one I read.. http://www.cs.mtu.edu/~shene/NSF-3/e-Book/MUTEX/TM-example-philos-1.html ...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 9:45 AM To: CF-Talk Subject: Re: yet another locking ? > 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? > This is the definitive answer. Its the same answer you'll get from Ray Camden, Simon Horwith, Christian Cantrell etc. Tony, I suspect that you may not understand exactly what a "race condition" is in terms of locking records and/or shared scope variables and would recommend looking up record locking in more detail. I tried to find a decent article on this, but this : http://www.linuxfocus.org/English/September2001/article198.meta.shtml is the best I could find... Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

