Wow... thanks... I did not know that

That is very powerful

Thanks!

I suppose there must be other differences between the two.. Since there is 
the option to turn multithreaded off... 

Which would make them similar to a subroutine? 

Ta






On Tuesday, 9 October 2012 07:51:49 UTC+1, Peter J. Farrell wrote:
>
> drfishflan said the following on 10/09/2012 12:26 AM: 
> > My question is... What is the difference between Message / Subscriber 
> > notifications and Subroutines ? 
> Message subscribers can be run asynchronously (i.e. 
> waitForThreads="false") or parallel (multithreaded="true").  Behind the 
> scenes things are kicked off using cfthread and joined together etc. 
>
> Works really well for multiple db queries.  If you just did it in a 
> subroutine, the subroutine would run single threaded. 
>
> .pjf 
>
> -- 
> Peter J. Farrell 
> OpenBD Steering Committee / Mach-II Lead Developer 
> http://blog.maestropublishing.com 
> Identi.ca / Twitter: @maestrofjp 
>
> Please do not send me Microsoft Office/Apple iWork documents. Send 
> OpenDocument instead! http://fsf.org/campaigns/opendocument/ 
>
>

-- 
-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

New (July 2012): We've moved to GitHub: 
https://github.com/Mach-II/Mach-II-Framework


Reply via email to