[Mono-devel-list] new ThreadPool implementation

dietmar dietmar at ximian.com
Wed Jun 25 03:06:04 EDT 2003


On Wed, 2003-06-25 at 08:51, Jonathan Hogg wrote:
> On 25/6/03 3:55, eric lindvall wrote:
> 
> > maybe i didn't understand something from this code, but how is it a thread
> > pool? it doesn't seem to be using threads at all. were you trying to make
> > a single-threaded implementation of ThreadPool?
> 
> It appears to be using the async invoke functionality, which does a call on
> another thread.
> 
> My questions would be: does the runtime already maintain a thread pool for
> async? Presuming so, are there any side-effects of re-using it?

Well, thats the idea of this patch. The runtime already maintains a full
featured threadpool (implemented in C). So with the old code we had 2
different thread-pools, and with the new code there is only one. I am
not aware of any side effects.

- Dietmar







More information about the Mono-devel-list mailing list