Can anyone tell me what the behaviour of CFLOCK is when you give it a
timeout value of 0? What I'm looking to do is create a situation where if
one user has acquired the lock, any other users who reach the lock will
immediately skip the synchronized section. I thought the following might
work...

<cflock name="MyLock" timeout="0" throwontimeout="no" type="exclusive">
...
</cflock>

However, I can't find any documentation stating how CF handles a value of 0
in the timeout field. Will it even attempt to acquire the lock? In some
languages a timeout of 0 indicates "wait indefinetely" which is obviously
not what I want in this case. I'm running CF5 Pro.

</rob>

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to