Re: gthread: how many cores do I have?
- From: Pavel Machek <pavel ucw cz>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: gthread: how many cores do I have?
- Date: Sun, 4 Apr 2010 15:41:05 +0200
On Sat 2010-04-03 01:20:37, Tor Lillqvist wrote:
> > It is traditional term, and it is ambiguous these days. CoreDuo is Intel *processor*.
>
> So what? Intel might call it a "processor" today, a "flux capacitor"
> tomorrow. It isn't like they would be known to choose one name for
The fact that biggest cpu manufacturer calls package "processor" today
means that term is clearly abgiguous, and better be avoided.
> something and stay with it. Is Intel going to change the terminology
> used in existing APIs like Linux's sysconf(_SC_NPROCESSORS_ONLN)? Is
> Intel going to rewrite computing literature to stop using the term
> "multiprocessor"? Sheesh.
No, but new functions/literature/documentation should better be
unambiguous.
g_get_concurrent_threads() would be one such option -- you really want
the api to return 2 on pentium 4 HT. (And while pentium 4 HT may be
called multiprocessor machine due to SMT, it clearly is not have 2
processors... which just shows how bad the naming got.)
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]