> > The only concurrency issues that seem to come up in CF are 
> > when we needto single thread any piece of code - that's what 
> > the locks do. But I haven't seen any code at all that allows 
> > us to start new threads in the same page.
>
> Everytime a new user goes onto your web site, a new thread is 
> used for that user. So although at the page level, you can't 
> start new threads, threading certainly exists in CF at the 
> application level.

This isn't exactly how CF works, at least not on Windows. The number of
threads available for processing CF requests is fixed, and those threads are
created when the server starts up. If more requests exist than threads to
process them, those requests will be queued until a thread is free. To set
the number of worker threads, you change the "Number of simultaneous
requests" setting in the CF Administrator.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to