Title: Message
Dawson, Michael said the following on 4/19/2006 9:58 AM:
Because it is very possible that an instance, of the CFC, could have been created immediately after the first CFIF and before the CFLOCK.  The second CFIF does a double-check for this and, if already created, it doesn't create another instance of the CFC.
 
It's a timing issue. A very slim chance, but a chance nonetheless.
 
M!ke
Correct - double-checked locking.
http://en.wikipedia.org/wiki/Double-checked_locking

At the risk of repetition, you might consider using ColdSpring to manage all your services.

.Peter
-- 
Peter J. Farrell - Maestro Publishing
Certified Adobe ColdFusion MX7 Developer
Member Team Mach-II and Team Fusion
--
Co-Host of the ColdFusion Weekly Podcast
The "Virtually Live" Call-In Show
http://www.coldfusionweekly.com



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to