the semi-resident thread pool

Denis Koroskin 2korden at gmail.com
Sat May 30 01:05:47 PDT 2009


On Sat, 30 May 2009 08:14:08 +0400, zsxxsz <zhengshuxin at hexun.com> wrote:

> Hi, I written one thread pool in which each thread is semi-resident. The
> thread-pool is different from the Tango's one. Any thread of the  
> thread-pool
> will exit when it is idle for the timeout. That is to say, all threads  
> for
> jobs, and no job no thread. The thread-pool was from my C version. With  
> D, I
> wrote it more easier with the delegate function.
>

You may consider adding your code to a scrapple project at dsource.org (http://www.dsource.org/projects/scrapple)

This way you will keep your code up-to-date and more people will be able to use it.




More information about the Digitalmars-d-announce mailing list