No, the lock will release if an exception propogates out of the CFLOCK tag's body. The lock is only in effect inside the tag, and it's just another way of leaving the body of the tag.
cheers, barneyb On 8/18/05, Ryan Guill <[EMAIL PROTECTED]> wrote: > Sorry, this isnt directly related to cfc's guys, but heres a crazy question: > > If you are using a locks (a named lock in particular, but any lock > will do) and an error is thrown in the lock, what happens? is the > lock released? Would this cause a deadlock? > > in other words, if I wrap a query in a lock, and the query throws an > error, is it going to lock everyone out? > > Thanks, > -- > Ryan Guill > BlueEyesDevelopment > [EMAIL PROTECTED] > www.ryanguill.com > (270) 217.2399 > Want gmail? Get it here while its hot. > > www.ryanguill.com/blog/ > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject of the > email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > CFCDev is supported by New Atlanta, makers of BlueDragon > http://www.newatlanta.com/products/bluedragon/index.cfm > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
