Re: gthread: how many cores do I have?



On Mon, 2010-03-15 at 21:14 +0000, jcupitt gmail com wrote:

> But it seems to me that we have a more immediate need: gthread has a
> threadpools, but no way to pick a reasonable size for a pool.

Feel free to use the implementation in GIMP as a starting point:

 http://git.gnome.org/browse/gimp/tree/app/base/base-utils.c#n54


Sven




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]