Matt Robertson wrote:
> You would use a named lock in the (hopefully *extremely* rare)
> instance where you want only a single user to execute a block of code
> at any one time.
> 
> Hopefully your app design never causes such a need to arise.

I like the idea of using named locks whenever I use cffile. But 
since I use the MD5 of the filename as the lock name that 
shouldn't conflict very often :-)

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192463
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