Re: gthread: how many cores do I have?
- From: Sven Neumann <sven gimp org>
- To: jcupitt gmail com
- Cc: gtk-devel-list gnome org
- Subject: Re: gthread: how many cores do I have?
- Date: Mon, 15 Mar 2010 23:43:25 +0100
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]