Jeffrey Richter's Blog

My CLR via C#, 3rd Edition book is E-Book deal of the day on May 26, 2011

Just $23.99. Save 50% w/code DDCV3 http://oreil.ly/musvJw

On May 25 2011 6:25 PMBy jeffreyr With 3 Comments

Comments (3)

  1. Hi,
    I have read both 2nd & 3rd editions of your book "CLR via c#" and gone through the Threading topics in both. I have a few questions on when to use a thread pool's thread vs. a dedicated thread:

    1. How many secs (or mins) does a thread need to be running in order for it to be qualified to run as a dedicated thread?

    2. If I have a windows service which is multithreaded, should I still be using the Thread pool's thread or should I be using a dedicated thread? As here the windows service would be a dedicated service for a domain and we could make the dedicated thread work as a foreground thread instead of a background one (which the Thread pool's thread are and which we should not tamper with :) ).

    Thanks.

Leave a Comment