just to check, you've set ThreadPool.SetMaxThreads(int)?
On 10 Sep, 18:42, Milo <[EMAIL PROTECTED]> wrote: > Any ideas? > > On Sep 5, 7:38 pm, Milo <[EMAIL PROTECTED]> wrote: > > > Hope you guys (and gals) can help, I've been digging without much > > success.. > > > I've an application which needs to fire off alot of threads to various > > webservices... > > > I've written a version using ThreadPool.QueueUserWorkItem and > > WaitHandle.WaitAll(doneEvents). This works a tread 99% of the time, > > UNTIL I fire out over 64 threads then I get an error stating, I must > > have less that 64 threads. (An OS limitation I've found out). > > > I've seen some other same code when this isn't a problem in example > > when an application is fire out hundreds of thread using WebRequest, > > which seems to support the IAsyncResult and > > ThreadPool.RegisterWaitForSingleObject method. > > > Can anyone point me to a good example of firing off multiple > > ThreadPool.RegisterWaitForSingleObject, over 64 of them, and record > > the results. > > > Thanks in advance. > > > Milo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" 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://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
