The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Managed ThreadPool

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Watermasysk

Posts: 661
Nickname: scottwater
Registered: Aug, 2003

Scott Watermasysk is an ASP.NET developers. He wrote the .Text blog engine.
Managed ThreadPool Posted: Jan 8, 2004 12:01 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Scott Watermasysk.
Original Post: Managed ThreadPool
Feed Title: ScottW's ASP.NET WebLog
Feed URL: /error.aspx?aspxerrorpath=/blog/rss.aspx
Feed Description: ASP.NET and Blogging
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Scott Watermasysk
Latest Posts From ScottW's ASP.NET WebLog

Advertisement

Wally is talking about some of the limitations with .NET ThreadPool.

The limitations he is talking about is on the max number of threads. In the past I have had opposite problem. I wanted the ease of use that comes with the threadpool, but I wanted to limit to a certain number of threads. However, as it currently stands, this is not possible.

I then came across Stephen Toub's ManagedThreadPool which mimics the default ThreadPool, but with one major addition, control over the number of threads. This was initially set to a constant values, but with a quick tweak, I changed the static constructor to check for a config settings, otherwise to default to some other number.

This is what I am currently using in .Text all of my offline functions. So far, it has been quite handy.

Read: Managed ThreadPool

Topic: Make it short please ;-) Previous Topic   Next Topic Topic: CMS and JVM dependency

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use