Add OSX spinlock adpater
Add a compat header that implements the POSIX spinlock API using OSX's libkern/OSAtomic.h. OSX is supposedly POSIX compliant, but it appears to not implement spinlocks as part of it's pthread API. Only works with OS version after 10.4 which should be pretty much every OSX device out there.
Showing with 53 additions and 0 deletions