Is there an API that would allow me to discover the availability of
more then one physical processor cores?
sysctl(3) ?
If so, is it somewhat standard -- would it work on say, Linux?
it should work on any 4.4BSD derivative, the linux variant sysctl(2)
is similar
with some macros and conditional compilation, you might be able to
use it on both.
I am parallelizing an application and would like to have two- and
four-processor versions
of some computationally intense code.
sounds good
Anyone know of such an API, particularly one that is someone platform-
independent?
anyone got a better idea ?
S a m
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden