Re: CFLock deadlocking

2008-10-02 Thread Andrew Mason
Thanks for the replys. It is useful as is this page: http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=1169.htm I now don't believe I had a deadlock issue. So according to Adobe and others when throwontimeout is NO, i

Re: CFLock deadlocking

2008-10-02 Thread James Holmes
Can you just use createUUID() to generate a unique ID without needing a lock? Regardless, you shouldn't be seeing a deadlock unless there's a whole lot more to the code than that which you posted; even then the timeout should be observed and you shouldn't be getting an infinite deadlock. http://li

RE: CFLock deadlocking

2008-10-02 Thread Jim Davis
> -Original Message- > From: Andrew Mason [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2008 8:54 AM > To: cf-talk > Subject: CFLock deadlocking > > Hi Folks, > > I wonder if someone can help me. > > I have a situation where I use cflock

CFLock deadlocking

2008-10-02 Thread Andrew Mason
Hi Folks, I wonder if someone can help me. I have a situation where I use cflock when generating IDs to ensure no duplications occur etc which 'sometimes' results in a deadlock situation. Because the Throw is 'no' whenever the lock gets 'stuck' for whatever reason (which is quite rare, bu