Use OSSpinLock*() for locking on OS X.

pthread_mutex_lock() can call malloc() on OS X (!!!), which causes
deadlock.  Work around this by using spinlocks that are built of more
primitive stuff.
7 files changed
tree: f3250f735a97587da8ca61f0208f07bc28cd65fe
  1. jemalloc/
  2. .gitignore