missing some sort of obvious feedback method when scheduled tasks
(and cfthread's, for that matter) are run?
Rick
> -Original Message-
> From: Mark Mandel [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 30, 2008 12:44 AM
> To: CF-Talk
> Subject: Re: cfthread running condi
Yeah, I've been wondering why this would use multiple threads when the
aim is to deliberately single thread the execution.
On Sat, Aug 30, 2008 at 12:44 PM, Mark Mandel wrote:
> Silly question - why not just run the executing code you want to fire
> to happen at the end of thread 1? It has exactly
Silly question - why not just run the executing code you want to fire
to happen at the end of thread 1? It has exactly the same result,
there is no need to create a whole new thread, as you can just
continue in the one you are in.
Mark
On Sat, Aug 30, 2008 at 12:26 PM, Dave Watts <[EMAIL PROTECTE
> But unlike a "page thread" that's running in a browser,
> the "scheduled task page thread" isn't subject to a
> timeout, right?
Why wouldn't it be? It's just another HTTP request.
Dave Watts, CTO, Fig Leaf Software
~|
AdobeĀ®
But unlike a "page thread" that's running in a browser,
the "scheduled task page thread" isn't subject to a timeout, right?
> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2008 7:09 PM
> To: CF-Talk
> 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 c
> -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 threa
ht it would work as you
> described,
> that the joining threads would wait until the thread they were joining
> was finished
> before processing. But the description makes it sound the other way
> around.
>
> ???
>
> Rick
>
> > -Original Message-
>
Rick Faircloth wrote:
> Is there a way to break out of the cfscript block once
> the status of the first thread, "2_hmls_offices", is "Completed" and go
> on to process regular CFML code?
There is nothing special about the ... code. This
is not a requirment of threads or anything, just a person
Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2008 2:08 PM
> To: CF-Talk
> Subject: Re: cfthread running condition?
>
> Rick Faircloth wrote:
> > Is there a way to make the start of one thread
> > conditional upon the en
tion makes it sound the other way around.
???
Rick
> -Original Message-
> From: joey krabacher [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2008 2:02 PM
> To: CF-Talk
> Subject: Re: cfthread running condition?
>
> You might be able to kick of the first thre
Rick Faircloth wrote:
> Is there a way to make the start of one thread
> conditional upon the ending of a previous thread?
It should be possible using the thread.status feature. You would create
a thread then watch the status until it reports "completed" then start
the next thread.
Don't have a
You might be able to kick of the first thread (set the action to run) then have
a list or something that you can loop over and have a "join" cfthread inside
the loop with the same name as the first one. Something like this.
do something
do something
I have not tried this,
This should be pretty simple to achieve. One of the restrictions with threads
is that a cfthread can not spawn another cfthread. So your going to need one
scheduled task that runs at a suitable interval. It will need to see if theres
a thread running and if not, kick off the first thread. Th
Is there a way to make the start of one thread
conditional upon the ending of a previous thread?
I want to keep only one thread at a time running
and would like to set up a series of threads to run,
but only one at a time.
I've been doing this with scheduled tasks and emailing
completion to mysel
15 matches
Mail list logo