I'm not sure how you mean - if you only lock when you set them that means
they could be read while they're being set.  It's rare, but it does happen -
an on CF 4.5/5.0 it'll send the application belly up when it happens.


Remember that the lock has no idea what's inside it - an exclusive lock
doesn't prevent anything from touching the variables inside it, it only
prevents another lock from being set.


Jim Davis


  _____  

From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 19, 2004 9:40 AM
To: CF-Talk
Subject: Re: Using Application scope to name DB tables?


On Thursday 19 Feb 2004 14:24 pm, Robertson-Ravo, Neil (RX) wrote:
> As noted, there is really thinking wrong with it all....you just need to
> lock lock lock!

Only when you set them.

--
Tom Chiverton
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to