Old Chinese saying: "If all else fails read the @#$% manual"

' ... Use the StructCopy function when you want to create a physical copy of
a structure. You can also use assignment to create a copy by reference. '

If you want thread safe variables, and you want to copy a complex variable
query / structure. A simple assignment is NOT enough! You must use
StructCopy.

HTH,
Noam

        ----------
        From:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
        Sent:  Monday, 07 August 2000 17:08
        To:  [EMAIL PROTECTED]
        Subject:  Locking & Request Scoped Variables (was RE: Global
Variables)

        Picking up on something Fred Sanders said in his reply:

        "...The request scope is a global thread safe variable scope.
        To get out of having to do locks I often make request. scoped
pointers to
        whatever application scoped variables I've set. "

        I seem to remember Dave Watts mentioning on the CF-Talk list that
pointers
        to shared memory variable scopes (ie. session, application, etc...)
are no
        better from a locking perspective than the direct call to them. Did
I
        misunderstand? Anyone care to clarify this request. pointer issue?

        Thanks,

        Chris


        
----------------------------------------------------------------------------
--
        To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to