I'm not too sure what constitutes a "page thread". Assuming that it's the processing of the .cfm page, then that wouldn't really apply, I don't think, because I'd be using these merged templates with multiple threads coded in them as part of scheduled tasks, which, if I understand correctly wouldn't involve a "page thread."
I'm looking for a way to combine the 54 templates I currently have to process data every day into 4 or 5 templates. I actually tried setting the wait time to 0, and the template threw an error. When I set a time, it ran fine. Perhaps I should leave the wait time attribute out entirely. Perhaps that would default to 0. Also, even with the wait time set to 0, I don't want the "joining" threads to finish first...I want them to finish *after* the first thread that they would be joining. > -----Original Message----- > From: Joey Krabacher [mailto:[EMAIL PROTECTED] > Sent: Friday, August 29, 2008 4:20 PM > To: CF-Talk > Subject: Re: cfthread running condition? > > In the docs under timeout it says: > 'The number of milliseconds that the current thread waits for the thread or > threads being joined to > finish. If any thread does not finish by the specified time, the current > thread proceeds. > > If the attribute value is 0, the following action occurs: > > * The current thread continues waiting until all joining threads finish. > * If the current thread is the page thread, the page continues waiting > until the threads are joined, > even if you specify a page time-out.' > > This sounds like if you do not set the timeout attribute then the thread just > waits until the joining > thread finishes. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:311813 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4