Good call Daniel.  Sean is kind of persistant in his preaching about thread safety.   I sent him an email and got the following:
________
onApplicationStart() is completely thread safe when it is
automatically invoked by CFMX.

It is not thread safe if you invoke it yourself (e.g., from
onRequestStart() based on a URL parameter). You can add a lock (in
onRequestStart() around the call to onApplicationStart()) to address
that, if you find you need to call onApplicationStart() like that.
________

~d



On 5/22/06, Daniel Elmore <[EMAIL PROTECTED]> wrote:
Hey Dave, that's a good question. For inquires of that nature I usually
email someone like Sean Corfield, he usually gets back to me the same day.

http://corfield.org/index.cfm/event/home.contact/subject/

-Daniel Elmore


-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]
On Behalf Of Dave Shuck
Sent: Monday, May 22, 2006 11:22 AM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: [DFW CFUG] thread safety onApplicationStart()

Does anyone know definitively if onApplicationStart() manages its own thread
safety? Is there ever a time that two sessions could be in the middle of
that method at once?

--
~Dave Shuck
[EMAIL PROTECTED]
www.daveshuck.com
www.worldwildweb.biz


_______________________________________________
Reply to DFWCFUG:
  [email protected]
Subscribe/Unsubscribe:
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
  www.HostMySite.com
  www.teksystems.com/



--
~Dave Shuck
[EMAIL PROTECTED]
www.daveshuck.com
www.worldwildweb.biz
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to