Setting processor affinity on MacOS X?
Setting processor affinity on MacOS X?
- Subject: Setting processor affinity on MacOS X?
- From: Alison Cassidy <email@hidden>
- Date: Tue, 19 Jan 2010 19:18:37 -0800
Hi all,
I have a really quick tho' obscure question. I have a need to run a thread on a particular processor core. Under normal conditions, that's not something people do, but as a diagnostic developer, I have a specific need to target stress-testing of specific CPU cores. Long story .... :)
I've been using CHUD's utilBindThreadToCPU() with a lot of success to-date - everything works as it should. However, as CHUD is not suitable for a shipping software product, is there a public - or indeed private - API available in MacOS X.6+ which would effectively do the same thing?
Best regards,
-- Allie
Alison Cassidy - Diagnostics Architecture, Apple Inc.
_______________________________________________
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