aboutsummaryrefslogtreecommitdiffstats
path: root/src/mutex.c
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-05-30 20:45:29 -0700
committerQi Wang <interwq@gmail.com>2017-05-31 16:48:13 -0700
commit508f54b02bd08ac0d250df1fa15cf87d574ce8a1 (patch)
tree6672c2ee24f14f5993abac43442f4eae020daf48 /src/mutex.c
parent9a86c9bd30e06daa20e4a4872d9292d177d66c8a (diff)
downloadplatform_external_jemalloc_new-508f54b02bd08ac0d250df1fa15cf87d574ce8a1.tar.gz
platform_external_jemalloc_new-508f54b02bd08ac0d250df1fa15cf87d574ce8a1.tar.bz2
platform_external_jemalloc_new-508f54b02bd08ac0d250df1fa15cf87d574ce8a1.zip
Use real pthread_create for creating background threads.
Diffstat (limited to 'src/mutex.c')
-rw-r--r--src/mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.c b/src/mutex.c
index 48e2940a..24852226 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