diff options
author | Lukas Larsson <[email protected]> | 2014-12-04 11:00:22 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-12-19 10:39:51 +0100 |
commit | f03bce6a77ff5c7885a3b200fe879210299194bb (patch) | |
tree | b21678eeee5a033a708792e3c657f76c45f09086 /erts/emulator/beam/erl_trace.c | |
parent | 3aa7023f2e4f5454faddd663f00ee4c935f9b8f6 (diff) | |
download | otp-f03bce6a77ff5c7885a3b200fe879210299194bb.tar.gz otp-f03bce6a77ff5c7885a3b200fe879210299194bb.tar.bz2 otp-f03bce6a77ff5c7885a3b200fe879210299194bb.zip |
erts: Add support for thread names
Diffstat (limited to 'erts/emulator/beam/erl_trace.c')
-rw-r--r-- | erts/emulator/beam/erl_trace.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c index ea5c850a30..15648d6056 100644 --- a/erts/emulator/beam/erl_trace.c +++ b/erts/emulator/beam/erl_trace.c @@ -3492,16 +3492,13 @@ init_sys_msg_dispatcher(void) thr_opts.coreNo = 0; #endif thr_opts.detached = 1; + thr_opts.name = "sys_msg_dispatcher"; init_smq_element_alloc(); sys_message_queue = NULL; sys_message_queue_end = NULL; erts_smp_cnd_init(&smq_cnd); erts_smp_mtx_init(&smq_mtx, "sys_msg_q"); -#ifdef ETHR_HAVE_THREAD_NAMES - thr_opts.name = "sys_msg_dispatcher"; -#endif - erts_smp_thr_create(&sys_msg_dispatcher_tid, sys_msg_dispatcher_func, NULL, |