If you go to write to myArray[2] that another thread is trying to read myArray[2], one will wait for the other to finish before it moves on.
You really don't need to lock this sort of code, and in fact are degrading your applications because of it.
Mark
On 4/20/05, Andrew Scott <[EMAIL PROTECTED]> wrote:
Ryan,
We use Application.DSN = "blah" but we also put a check around this so that
if it's defined then it doesn't run again, and only setups up the
application scope for us if it is needed. But we still uses locks as a safe
measure, not sure if this would cause any race conditions or not, but would
like to hear from other on that one.
--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740 --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
