oops, i didn't realise! Mark
On 1/12/08, Taco Fleur <[EMAIL PROTECTED]> wrote: > maybe in v8? I'm on v7 > > On 1/12/08, Mark Mandel <[EMAIL PROTECTED]> wrote: > > > > > > Isn't there a cfthread kill attribute? > > > > Mark > > > > On 1/12/08, Taco Fleur <[EMAIL PROTECTED]> wrote: > > > OK, got it sorted. > > > > > > basically; > > > - get current thread name > > > - set application var with thread name as key, set to true > > > - create link with ajax call to cf page that access the thread name, > > sets > > > the application var to false > > > - when the application var is set to false it breaks out of the loop > > > > > > simple, no need to destroy the thread... ;-) > > > > > > > > > On 1/12/08, Taco Fleur <[EMAIL PROTECTED]> wrote: > > > > > > > > I'm thinking that the following gets me some of the info I need > > > > > > > > thread = createObject( "java", "java.lang.Thread" ); > > > > thread.currentThread().getName() > > > > > > > > But then I'd need a method like > > > > > > > > thread.getThread( arguments.name ).destroy(); > > > > > > > > If you know what I mean ;-) > > > > I'll play a bit more with it. > > > > > > > > On 1/12/08, Taco Fleur <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Is there any way to kill a single thread? > > > > > Imagine this: A cf page that sends out an email every 5 seconds, and > > > > > this is continous, but let's say we want to stop it half way > > through, > > > but > > > > > not have to reset the whole CF server. > > > > > > > > > > I would assume there is a way to get a handle on the running thread, > > use > > > > > cfflush to flush the link to kill the thread. Possible? > > > > > > > > > > -- > > > > > >>> http://www.clickfind.com.au > > > > > Looking for a business, product or service? Try the new Australian > > > > > search engine www.clickfind.com.au > > > > > blog: http://australian-search-engine.blogspot.com/ > > > > > > > > > > > > > > > > > > > > > -- > > > > >>> http://www.clickfind.com.au > > > > Looking for a business, product or service? Try the new Australian > > search > > > > engine www.clickfind.com.au > > > > blog: http://australian-search-engine.blogspot.com/ > > > > > > > > > > > > > > > > -- > > > >>> http://www.clickfind.com.au > > > Looking for a business, product or service? Try the new Australian > > search > > > engine www.clickfind.com.au > > > blog: http://australian-search-engine.blogspot.com/ > > > > > > > > > > > > > > > > -- > > E: [EMAIL PROTECTED] > > W: www.compoundtheory.com > > > > > > > > > > -- > >>> http://www.clickfind.com.au > Looking for a business, product or service? Try the new Australian search > engine www.clickfind.com.au > blog: http://australian-search-engine.blogspot.com/ > > > > -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
