thanks for making that even clearer Rich:) like the logo as well, and I agree (as I've said), if in doubt about it, lock it. quite simple really.... ----- Original Message ----- From: "Rich Wild" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 3:12 PM Subject: RE: [ cf-dev ] CFMX and locking
> > If it aint a race condition, surely not locking a simply read > > is not require > > in MX? > > read the last 2 lines of Sean Corfield's post: > > "But if your updates are susceptible to race conditions, you should still > lock on updates to prevent such races. Since that can be hard to figure out > sometimes, it's still good advice to lock on updates in general." > > notice the word 'updates'. > > Even with this advice, I lock anyway. Its a habit I've gotten into and it > won't do me any harm. Not doing it however may lead to some head scratching > later on in your applications lifespan, when it (hopefully) starts getting > some traffic going through it and you start trying to unravel when a lock > should be used or not unjder what condition etc etc. > > Why make life difficult for yourself? > > http://www.funjunkie.co.uk/images/cflock.gif > > > > -----Original Message----- > > From: Robertson-Ravo, Neil (RX) > > [mailto:[EMAIL PROTECTED]] > > Sent: 27 November 2002 14:50 > > To: '[EMAIL PROTECTED]' > > Subject: RE: [ cf-dev ] CFMX and locking > > > > > > LOL :-) nah, I never used to lock and I never had any > > problems, but now I > > either copy the data into the request scope or I lock...... > > > > "In CF5, if you failed to lock your updates, your shared > > scopes could get > > corrupted - that won't happen with CFMX. " > > > > > > > > > > > -----Original Message----- > > From: Tom Smith [mailto:[EMAIL PROTECTED]] > > Sent: 27 November 2002 14:46 > > To: [EMAIL PROTECTED] > > Subject: Re: [ cf-dev ] CFMX and locking > > > > > > thanks Rich, that's cleared up a lot, and by that I'll > > continue locking all > > my scoped vars:) > > ----- Original Message ----- > > From: "Rich Wild" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, November 27, 2002 2:38 PM > > Subject: [ cf-dev ] CFMX and locking > > > > > > > http://www.corfield.org/blog/2002_09_01_archive.html#81527680 > > > > > > ------------------------------------------------------- > > > Rich Wild > > > Senior Web Developer > > > > > > ------------------------------------------------------- > > > e-mango Tel: 01202 755 300 > > > Gild House Fax: 01202 755 301 > > > 74 Norwich Avenue West > > > Bournemouth Mailto:[EMAIL PROTECTED] > > > BH2 6AW, UK http://www.e-mango.com > > > ------------------------------------------------------- > > > This message may contain information which is legally > > > privileged and/or confidential. If you are not the > > > intended recipient, you are hereby notified that any > > > unauthorised disclosure, copying, distribution or use > > > of this information is strictly prohibited. Such > > > notification notwithstanding, any comments, opinions, > > > information or conclusions expressed in this message > > > are those of the originator, not of e-mango.com ltd, > > > unless otherwise explicitly and independently indicated > > > by an authorised representative of e-mango.com ltd. > > > ------------------------------------------------------- > > > > > > > > > -- > > > ** Archive: > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
