> >> The problem is when your threads are named dynamically, > >> there's no way to > >> reliable get the thread name. > > > >What about using evaluate(), or thrd["#i#"], or > ><cfset "thrd#i#" = ...>? > > The problem is the variable "i" can be read/written to from any of the > spawned threads. This means the value of "thrd#i#" won't > always correlate to > the actual thread number (since it's evaluated inside the > thread, inside the > loop, the value of "i" keeps changing.)
Ah, I get it now. So just don't use any variables in your threads! ;) But seriously, I'm sure when/if they release this in a product release, there will be solutions for this problem. ------------ This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247385 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

