onApplicationStart is single threaded by CF server, so there's NEVER a need to lock inside that method. One of the really nice features of CF7. However, even if you were doing it in Application.cfm, there still wouldn't be a need to lock this particular initialization. Why? Because there are no race conditions, and it doesn't matter if it happens more than once (setting a variable to the same value is irrelevant, unlike instantiating a CFC, for example).
cheers, barneyb On Fri, 25 Mar 2005 10:51:00 +0700, Paul Hastings <[EMAIL PROTECTED]> wrote: > Tony Weeg wrote: > > writing only happens once, during onApplicationStart. > > i might lock that init down. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199942 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

