>> 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.)

-Dan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:247364
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to