mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 08:03:32 +03:00
Change tsdn to tsd for thread name allocation
This commit is contained in:
parent
841af2b426
commit
adfd9d7b1d
3 changed files with 6 additions and 6 deletions
|
|
@ -746,7 +746,7 @@ prof_tdata_reinit(tsd_t *tsd, prof_tdata_t *tdata) {
|
|||
uint64_t thr_uid = tdata->thr_uid;
|
||||
uint64_t thr_discrim = tdata->thr_discrim + 1;
|
||||
char *thread_name = (tdata->thread_name != NULL) ?
|
||||
prof_thread_name_alloc(tsd_tsdn(tsd), tdata->thread_name) : NULL;
|
||||
prof_thread_name_alloc(tsd, tdata->thread_name) : NULL;
|
||||
bool active = tdata->active;
|
||||
|
||||
prof_tdata_detach(tsd, tdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue