> -----Original Message-----
> From: Tony Hicks [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 31, 2004 12:41 AM
> To: CF-Talk
> Subject: Re: Well - I feel like an idiot.
> 
> Go with your gut, but I doubt the millisecond of time that passes will
> change anything... Also reads and writes to application variables
> should be locked so the outer CFIF is not necessarily a good idea.

Actually application variable reads and writes do not need to be locked in
CFMX (which is thread safe in that regard).  It was crucial in previous
versions however which is where much of the confusion comes in.

The point here is that the process inside that code takes several seconds -
perhaps as many as 10 or 15.

Before the change during all that time other requests were piling up waiting
to get at the code in the lock, which they did as soon as it was released.
 
> You might consider setting the var to SOMETHING before the long init
> process... Here's why...

Why's here's why?  Where here's why?!

(Sorry - been awake for 36 hours...)  ;^)

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189046
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to