Mark Kruger wrote: > One more thought. Your code sets variables in the threads without var'ing > them. Possibly this could lead conditions where threads are competing. So > your simple example might be better if you did:
Does the 'Var' scope apply to threads? I see what you are saying, that maybe the threads are not 'thread safe'. That could very well be the case and is worth investigating. I just wonder if the VAR command applies here though? I thought it only applied to functions? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307608 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

