threads vs. smp
On Sun, Jun 8, 2008 at 6:04 PM, Hanno Böck <firstname.lastname@example.org> wrote:
> I got this bug and as I don't know if this is correct what the user says (no
> idea about smp), I'm posting this here for comments:
Looks like there are 3 possible uses of the threads/smp USE flags:
1) Add support for a threading API in a library/language (for example
2) Add support for threading in an application (www-servers/apache, for exmple)
3) Add support for a multi-processor machine -- this is different from
(2) in that the application doesn't really gain anything if this is
used on a uni-processor machine (sys-cluster/charm seems to fall in
I guess it would be consistent to use "threads" for (1) and (2), and
"smp" for (3).
Now, as for Gimp, grokking through the sources shows that "--with-mp"
basically lets some processing stuff run in separate threads. This is
clearly only useful on SMT/CMP/SMP machines, so I think USE=smp is
The user's complaint could be valid, though. Perhaps "smp" should be a
global USE flag.
email@example.com mailing list