peter-lawrey/Java-Thread-Affinity — pull request #27 by JerryShea (2012-03-20 10:46:23+00:00)
Title: initial Mac OS X native library for thread affinity

This has been sitting on my HDD for a week so time to send it up!

Still a couple of tests fail:

Failed tests: testIssue21(vanilla.java.affinity.AffinityLockTest): expected not same
-- output as below
Mar 20, 2012 9:45:38 PM vanilla.java.affinity.AffinityLock bind
INFO: Assigning cpu 1 to Thread[main,5,main]
Mar 20, 2012 9:45:38 PM vanilla.java.affinity.AffinityLock acquireLock
WARNING: No reservable CPU for Thread[main,5,main]
Mar 20, 2012 9:45:38 PM vanilla.java.affinity.AffinityLock acquireLock
WARNING: No reservable CPU for Thread[main,5,main]

Tests in error:
assignReleaseThread(vanilla.java.affinity.AffinityLockTest): /proc/cpuinfo (No such file or directory)
-- Mac does not have /proc/cpuinfo