I could be wrong, but I don't think there's any such thing as
"processor affinity" on Mac OS X.
Really, all such a thing would do anyway is mask bugs in your code.
(If your code is crashing when it runs multithreaded, it has bugs.)
Your best bet would be to go through and check how you're accessing
your shared data structures to make sure you're properly controlling
access to them.
I've found a good way to do that is to only manipulate shared
structures through accessors that implement the locking. That way
things don't get into an inconsistent state. Naming them something
inconvenient can help, as it'll "encourage" you to go through the
Chris Hanson < XXXX@XXXXX.COM >