summaryrefslogtreecommitdiffstats
path: root/test/integration/aligned_alloc.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2011-03-19 02:30:18 (GMT)
committerJason Evans <je@fb.com>2011-03-19 02:30:18 (GMT)
commit893a0ed7c8c11962524ba6f2adeb304d038be2a9 (patch)
treef3250f735a97587da8ca61f0208f07bc28cd65fe /test/integration/aligned_alloc.c
parent763baa6cfcc8a9df9d3b7f676b2193ac7cd5ef51 (diff)
downloadjemalloc-893a0ed7c8c11962524ba6f2adeb304d038be2a9.zip
jemalloc-893a0ed7c8c11962524ba6f2adeb304d038be2a9.tar.gz
jemalloc-893a0ed7c8c11962524ba6f2adeb304d038be2a9.tar.bz2
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.
Diffstat (limited to 'test/integration/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions