On Wed, Sep 9, 2009 at 11:04 AM, Jason Fisher <[email protected]> wrote:

>
> If you are on CF8+, then my understanding is that locking READ functions is
> no longer required.  If you're still on CFMX 7, then, yes, <cfif
> arrayLen(session.customer.custerrors)> is a READ function and should be
> locked.
>
> Or was it is CFMX 7 that made the READ lock less important?
>

I think it was CFMX 7 that made it less important.

IIRC, pre-CFMX 7, there was the possibility of memory corruption if reads
weren't properly locked.

As of CF 7 (and still true now), the only reason to lock would be if the
potential for a race condition existed.  AND if it mattered whether or not
there was a race condition (sometimes it really doesn't) :)


-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326146
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to