diff options
author | Jason Evans <jasone@canonware.com> | 2016-04-14 19:17:56 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-04-14 19:18:55 (GMT) |
commit | 22884243250a0f7d412ca745fbf7231d69abe771 (patch) | |
tree | 72cdfa63a79e67613043abf77b39d181c2a31170 | |
parent | a15841cc7d7c60b2c72c091d8048223789f5c4e0 (diff) | |
download | jemalloc-22884243250a0f7d412ca745fbf7231d69abe771.zip jemalloc-22884243250a0f7d412ca745fbf7231d69abe771.tar.gz jemalloc-22884243250a0f7d412ca745fbf7231d69abe771.tar.bz2 |
s/MALLOC_MUTEX_RANK_OMIT/WITNESS_RANK_OMIT/
This fixes a compilation error caused by
b2c0d6322d2307458ae2b28545f8a5c9903d7ef5 (Add witness, a simple online
locking validator.).
This resolves #375.
-rw-r--r-- | include/jemalloc/internal/mb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/mb.h b/include/jemalloc/internal/mb.h index de54f50..81129d0 100644 --- a/include/jemalloc/internal/mb.h +++ b/include/jemalloc/internal/mb.h @@ -104,7 +104,7 @@ mb_write(void) { malloc_mutex_t mtx; - malloc_mutex_init(&mtx, MALLOC_MUTEX_RANK_OMIT); + malloc_mutex_init(&mtx, WITNESS_RANK_OMIT); malloc_mutex_lock(NULL, &mtx); malloc_mutex_unlock(NULL, &mtx); } |