unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Nordlöw <per.nordlow@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Getting Number of CPU(-core)s and giving it as the --jobs argument to GNU Make
Date: Wed, 12 Sep 2007 11:38:03 +0200	[thread overview]
Message-ID: <589CAE8B-014E-44EC-B288-089D977D0C6B@Web.DE> (raw)
In-Reply-To: <1189585252.489781.93740@22g2000hsm.googlegroups.com>


Am 12.09.2007 um 10:20 schrieb Nordlöw:

> In C on Linux and Mac OS X the following detects number of CPUs:

Wouldn't

	sysctl -n hw.logicalcpu_max

in Mac OS X or Darwin be a bit simpler? (There are also \x18 
hw.activecpu, hw.physicalcpu, hw.physicalcpu_max, and hw.logicalcpu.)


--
Greetings

   Pete

A child of five could understand this!  Fetch me a child of five.

      reply	other threads:[~2007-09-12  9:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 14:53 Getting Number of CPU(-core)s and giving it as the --jobs argument to GNU Make Nordlöw
2007-09-11 17:16 ` Peter Dyballa
2007-09-11 20:20   ` Dieter Wilhelm
2007-09-11 21:52     ` Peter Dyballa
2007-09-11 22:11       ` Dieter Wilhelm
2007-09-11 22:29         ` Peter Dyballa
     [not found]   ` <mailman.725.1189541941.18990.help-gnu-emacs@gnu.org>
2007-09-12  6:30     ` Unknown
2007-09-12  8:20       ` Nordlöw
2007-09-12  9:38         ` Peter Dyballa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=589CAE8B-014E-44EC-B288-089D977D0C6B@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=per.nordlow@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).