diff options
author | Lukas Larsson <[email protected]> | 2013-10-31 14:40:33 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:16:00 +0100 |
commit | 8103fed4090e9f1457fb1705e9a4df0821f5db9b (patch) | |
tree | 8ed606e8774851fee2645012b1e948dc1bb88de0 /erts/emulator/beam/erl_thr_progress.c | |
parent | fd3aa9d63649084b345d0977fa121805f13c9d33 (diff) | |
download | otp-8103fed4090e9f1457fb1705e9a4df0821f5db9b.tar.gz otp-8103fed4090e9f1457fb1705e9a4df0821f5db9b.tar.bz2 otp-8103fed4090e9f1457fb1705e9a4df0821f5db9b.zip |
ose,erts: Specify name for tsd keys
This simplified debugging on OSE and also limits the number of ppdata
keys that are created when beam is restarted.
Diffstat (limited to 'erts/emulator/beam/erl_thr_progress.c')
-rw-r--r-- | erts/emulator/beam/erl_thr_progress.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_thr_progress.c b/erts/emulator/beam/erl_thr_progress.c index cf5e3dc012..545a0343d0 100644 --- a/erts/emulator/beam/erl_thr_progress.c +++ b/erts/emulator/beam/erl_thr_progress.c @@ -417,7 +417,8 @@ void erts_thr_progress_pre_init(void) { intrnl = NULL; - erts_tsd_key_create(&erts_thr_prgr_data_key__); + erts_tsd_key_create(&erts_thr_prgr_data_key__, + "erts_thr_prgr_data_key"); init_nob(&erts_thr_prgr__.current, ERTS_THR_PRGR_VAL_FIRST); } |