Re: sysctlbyname( "hw.availcpu" ) fails
Re: sysctlbyname( "hw.availcpu" ) fails
- Subject: Re: sysctlbyname( "hw.availcpu" ) fails
- From: Steve Checkoway <email@hidden>
- Date: Fri, 29 Jun 2007 14:45:00 -0700
On Jun 29, 2007, at 2:39 PM, Eric Schlegel wrote:
On Jun 29, 2007, at 2:34 PM, Steve Checkoway wrote:
Is Gestalt failing to give you the info you need in some way?
No, not at all. I thought that using Gestalt was discouraged in
some way.
Not as far as I know. It's still fully supported and will be
available in 64-bit Leopard too. If what you have is already
working, I think you should just continue to use it.
The old, "if it ain't broke, don't fix it" adage, I see. Well, as long
as it's going to continue to be around for a while, I guess I won't
change anything. (I did have to start getting the OS version using 3
calls since 10.4.10 was being returned [as per the documentation] as
10.4.9.)
Thanks for all of the help, everyone.
--
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