mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-13 08:26:22 +03:00
Use real pthread_create for creating background threads.
This commit is contained in:
parent
9a86c9bd30
commit
508f54b02b
2 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue