mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 22:03:07 +00:00
s/MALLOC_MUTEX_RANK_OMIT/WITNESS_RANK_OMIT/
This fixes a compilation error caused by
b2c0d6322d (Add witness, a simple online
locking validator.).
This resolves #375.
This commit is contained in:
@@ -104,7 +104,7 @@ mb_write(void)
|
|||||||
{
|
{
|
||||||
malloc_mutex_t mtx;
|
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_lock(NULL, &mtx);
|
||||||
malloc_mutex_unlock(NULL, &mtx);
|
malloc_mutex_unlock(NULL, &mtx);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user