PingBack from http://www.alvinashcraft.com/2011/05/26/dew-drop-may-26-2010/
August 11, 2011 2:28 AM
September 20, 2011 6:42 PM
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 :) ).