thats what i thought, and for now, i just 
locked all accesses of session vars, be it
writing or reading, etc...

thanks...
tony


-----Original Message-----
From: Sean A Corfield [mailto:sean@;corfield.org] 
Sent: Saturday, October 19, 2002 2:10 AM
To: CF-Talk
Subject: Re: session vars and locking


On Friday, Oct 18, 2002, at 19:06 US/Pacific, Tony Weeg wrote:
> race condition?

When two requests might get processed at the same time and both might 
try to read and/or update a shared scope variable... a case of 
whichever request wins the the race... :)

A rule of thumb here is: if you don't really understand the subtleties 
of race conditions (or deadlock situations), then you're safer to lock 
every access/update (even if, in reality, you may not need to). In 
other words, if in doubt, be overly cautious.

"Conform! Consume! Obey!"
-- Mr Snaffleburger : http://www.matazone.co.uk/theotherside.html


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
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.

Reply via email to