• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sysctlbyname( "hw.availcpu" ) fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sysctlbyname( "hw.availcpu" ) fails


  • Subject: Re: sysctlbyname( "hw.availcpu" ) fails
  • From: Steve Checkoway <email@hidden>
  • Date: Wed, 27 Jun 2007 13:52:13 -0700


On Jun 27, 2007, at 1:39 PM, Terry Lambert wrote:

On Jun 27, 2007, at 1:09 PM, James Peach wrote:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/sysconf.3.html

I think you meant sysconf (that's what the man page points to...)?

There's no portable sysconf()'s for CPU number/activity/SMT/etc. identification. Linux has introduced a couple, but until everyone agrees on scoping rules, it's not going to be safe to implement them, since that may not end up being what The Austin Group decides will make it into the standard, so it's impossible for anyone to adopt the experimental ones Linux uses, and ensure binary backward compatibility AND standards compliance at the same time.

Thank you both for the information. As I mentioned in my first email, I'm actually doing anything with this information, I just like to see what people are running when I get crash reports.


--
Steve Checkoway





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >sysctlbyname( "hw.availcpu" ) fails (From: Steve Checkoway <email@hidden>)
 >Re: sysctlbyname( "hw.availcpu" ) fails (From: Terry Lambert <email@hidden>)
 >Re: sysctlbyname( "hw.availcpu" ) fails (From: Steve Checkoway <email@hidden>)
 >Re: sysctlbyname( "hw.availcpu" ) fails (From: "James Peach" <email@hidden>)
 >Re: sysctlbyname( "hw.availcpu" ) fails (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: sysctlbyname( "hw.availcpu" ) fails
  • Next by Date: Re: Kernel Debug Kit for 10.4.10
  • Previous by thread: Re: sysctlbyname( "hw.availcpu" ) fails
  • Next by thread: Re: sysctlbyname( "hw.availcpu" ) fails
  • Index(es):
    • Date
    • Thread