Copying what they are doing in the next version of BlueDragon? On 01/12/06, Joel Cass <[EMAIL PROTECTED]> wrote: > > Has anyone tried this? It looks very cool... > > 1) To start a thread: > > <CFTHREAD name="th1" key1="some key" key2="another"> > <!--- any cfml code here ---> > <CFSET x = attributes.key1> > <CFSET y = attributes.key2> > <!--- x and y are local to the thread and will not be visible > outside the thread ---> > <!--- do something ---> > <CFSET thread.msg = x & y> > </CFTHREAD> > > This will spawn a new thread and any content between <CFTHREAD> tag will be > invoked inside that new thread. > > 2) If you want to wait for this thread to finish, you can use > > <CFJOIN thread="th1"> > > Apparently not for production use but hopefully it'll be in CF8? All they > need is a ton of developers to say YES.. > > http://www.dcooper.org/blog/client/index.cfm?mode=entry&entry=A71F310C-4E22- > 1671-5E287AE8918A048B > > Joel > > > > >
-- Peter Tilbrook ColdGen Internet Solutions Manager, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW, 2620 AUSTRALIA http://www.coldgen.com/ http://www.actcfug.com/ Tel: +61-2-6284-2727 Mob: +61-0432-897-437 Email: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---