Register Now
Member Count: 176,745 - November 20, 2008  [Get Time]
Login
Dashboard > TopCoder Competitions > ... > Suggested Component Standards and Practices > Threading in .NET
TopCoder Competitions View a printable version of the current page.  
Threading in .NET
Added by bwright , last edited by bwright on Mar 06, 2008
Labels: 
(None)

i.e. ThreadPool versus standard Thread classes

Is this really unique to .NET?

Also, does .NET have anything such as Future results or Closures?

Posted by taeric at Mar 06, 2008 08:21

It does, however calls to things like BeginAsync behind the scenes generate ThreadPool work items.One of the big problems with that is that there is only one ThreadPool and work items are not prioritized. So if you combine ImportantRealTimeComponent, and UpdateUIComponent together, both using ThreadPool, they are forced to share equal precedence.

Posted by axiom at Mar 06, 2008 09:16

I could see this being an issue. Is there a way to customize this threadpool?

Posted by taeric at Mar 06, 2008 09:36