> when using cfthread, when it has finished doing its job and 
> we no longer need it, do we have to write in our code to 
> destroy / terminate it, or does it automatically do it itself.

Unless you need the results of the thread to use back in your original
thread, you shouldn't have to do anything to kill it.

> i have noticed that when some cfthreads are done, it seems to 
> appear as if they are still running in the background

I'm not exactly sure how CF works with these threads, but I wouldn't be
surprised if they're pooled just like CF's regular threads - a set number
are created at startup, and none are created or destroyed at runtime. So,
all of them should be "running in the background", but they should be doing
very little until used.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners 
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305556
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to