diff options
author | Lukas Larsson <[email protected]> | 2014-03-25 17:41:31 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-03-28 10:53:47 +0100 |
commit | 49d8e0f92e0b496c9be4c13edecc498b31380cc9 (patch) | |
tree | aea825f619d17f35db6f42021472f6f23ef3dd59 /erts/emulator/beam/erl_process.c | |
parent | 8d3959c423b79bc8b55c39e039e7ff6517d87212 (diff) | |
download | otp-49d8e0f92e0b496c9be4c13edecc498b31380cc9.tar.gz otp-49d8e0f92e0b496c9be4c13edecc498b31380cc9.tar.bz2 otp-49d8e0f92e0b496c9be4c13edecc498b31380cc9.zip |
erts: Add etp-lc-dump and etp-ppc-stacktrace macro
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 8bf0cc9491..baca73f7f6 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -2672,6 +2672,13 @@ aux_thread(void *unused) ErtsThrPrgrCallbacks callbacks; int thr_prgr_active = 1; +#ifdef ERTS_ENABLE_LOCK_CHECK + { + char buf[] = "aux_thread"; + erts_lc_set_thread_name(buf); + } +#endif + ssi->event = erts_tse_fetch(); callbacks.arg = (void *) ssi; |