commit | 1f37f63654d36bb4d07180a4b622beb79ba2c3e3 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue May 27 11:40:37 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue May 27 11:40:37 2008 +0200 |
tree | f17a35e6daa23a0ae85299309930d6184784b44e | |
parent | ec996e9c8f3baacababec55b3be746e035099c14 [diff] |
smalloc: turn on the thread safe flag Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/smalloc.c b/smalloc.c index 3af39f3..cdc9ed8 100644 --- a/smalloc.c +++ b/smalloc.c
@@ -13,7 +13,7 @@ #include "mutex.h" -#undef MP_SAFE /* define to make thread safe */ +#define MP_SAFE /* define to make thread safe */ #define SMALLOC_REDZONE /* define to detect memory corruption */ #define SMALLOC_BPB 32 /* block size, bytes-per-bit in bitmap */