
April 28th, 2008, 12:39 AM
|
|
Contributing User
|
|
Join Date: May 2006
Posts: 498
Time spent in forums: 1 Day 10 h 28 m 33 sec
Reputation Power: 2
|
|
|
ThreadPool
Hello everyone,
Two simple questions about C# threadpool.
1. C# CLR only has one thread pool per process, means the asynchronous method call (implicit using thread pool) and the explicit using thread pool by ThreadPool.QueueUserWorkItem will share the same thread pool?
2. For the exceptions occured in asynchronous method call, when we call EndInvoke, if exception is thrown and we can catch the exception. But when we use the the thread pool explicitly by ThreadPool.QueueUserWorkItem, we can not catch any exception occured?
thanks in advance,
George
|