aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-06-07 11:25:59 +0000
committerErlang/OTP <[email protected]>2010-06-07 11:25:59 +0000
commit9e69214f56cd5031f684da71a9eb24fa7003d1f2 (patch)
tree26446f5d6db24fc8a7246a6d637de9226fb0b9a1 /erts/emulator/sys/unix
parent8f243a67b6a710b076964a7043de7adc99bfa6d5 (diff)
downloadotp-9e69214f56cd5031f684da71a9eb24fa7003d1f2.tar.gz
otp-9e69214f56cd5031f684da71a9eb24fa7003d1f2.tar.bz2
otp-9e69214f56cd5031f684da71a9eb24fa7003d1f2.zip
Merge OTP-8681
Diffstat (limited to 'erts/emulator/sys/unix')
-rw-r--r--erts/emulator/sys/unix/sys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index 50b208848f..151fa06e8e 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -457,6 +457,10 @@ thr_create_prepare_child(void *vtcdp)
{
erts_thr_create_data_t *tcdp = (erts_thr_create_data_t *) vtcdp;
+#ifdef ERTS_ENABLE_LOCK_COUNT
+ erts_lcnt_thread_setup();
+#endif
+
#ifndef NO_FPE_SIGNALS
/*
* We do not want fp exeptions in other threads than the