diff options
| author | Qi Wang <interwq@gwu.edu> | 2017-06-02 16:27:05 -0700 |
|---|---|---|
| committer | Qi Wang <interwq@gmail.com> | 2017-06-05 10:56:25 -0700 |
| commit | 3a813946fb9b0ad93279ea30834df917b261a5a5 (patch) | |
| tree | 47bf3ff155c1486631b8a48f08e64f1f1eddf777 /include | |
| parent | 530c07a45ba3ea744b280c9df5d94165839f7b09 (diff) | |
| download | platform_external_jemalloc_new-3a813946fb9b0ad93279ea30834df917b261a5a5.tar.gz platform_external_jemalloc_new-3a813946fb9b0ad93279ea30834df917b261a5a5.tar.bz2 platform_external_jemalloc_new-3a813946fb9b0ad93279ea30834df917b261a5a5.zip | |
Take background thread lock when setting extent hooks.
Diffstat (limited to 'include')
| -rw-r--r-- | include/jemalloc/internal/extent_externs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/jemalloc/internal/extent_externs.h b/include/jemalloc/internal/extent_externs.h index acb3ef49..489a813c 100644 --- a/include/jemalloc/internal/extent_externs.h +++ b/include/jemalloc/internal/extent_externs.h @@ -15,7 +15,8 @@ extent_t *extent_alloc(tsdn_t *tsdn, arena_t *arena); void extent_dalloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent); extent_hooks_t *extent_hooks_get(arena_t *arena); -extent_hooks_t *extent_hooks_set(arena_t *arena, extent_hooks_t *extent_hooks); +extent_hooks_t *extent_hooks_set(tsd_t *tsd, arena_t *arena, + extent_hooks_t *extent_hooks); #ifdef JEMALLOC_JET size_t extent_size_quantize_floor(size_t size); |
