diff options
author | Qi Wang <interwq@gwu.edu> | 2017-05-31 03:45:29 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-05-31 23:48:13 (GMT) |
commit | 508f54b02bd08ac0d250df1fa15cf87d574ce8a1 (patch) | |
tree | 6672c2ee24f14f5993abac43442f4eae020daf48 /src/mutex.c | |
parent | 9a86c9bd30e06daa20e4a4872d9292d177d66c8a (diff) | |
download | jemalloc-508f54b02bd08ac0d250df1fa15cf87d574ce8a1.zip jemalloc-508f54b02bd08ac0d250df1fa15cf87d574ce8a1.tar.gz jemalloc-508f54b02bd08ac0d250df1fa15cf87d574ce8a1.tar.bz2 |
Use real pthread_create for creating background threads.
Diffstat (limited to 'src/mutex.c')
-rw-r--r-- | src/mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.c b/src/mutex.c index 48e2940..2485222 100644 --- a/src/mutex.c +++ b/src/mutex.c @@ -30,7 +30,7 @@ static malloc_mutex_t *postponed_mutexes = NULL; static void pthread_create_once(void) { pthread_create_fptr = load_pthread_create_fptr(); - isthreaded = true; + assert(isthreaded); } JEMALLOC_EXPORT int |