aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-04-13 15:22:18 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-04-13 15:22:18 +0200
commit861454268770e05bd72312c1a46560ed29a42500 (patch)
treec7b25f94799b72e908ce90cffbcfac7465de6752 /erts/emulator/beam/global.h
parentb94070e8e7648273f097cb036764dba2fe51ddf7 (diff)
parentefefd4bfda3156c6c19a61d7aa3d2f50a026d0e5 (diff)
downloadotp-861454268770e05bd72312c1a46560ed29a42500.tar.gz
otp-861454268770e05bd72312c1a46560ed29a42500.tar.bz2
otp-861454268770e05bd72312c1a46560ed29a42500.zip
Merge branch 'rr/wa-lcnt/OTP-10051' into maint
* rr/wa-lcnt/OTP-10051: lcnt: Let runq locks reflect actual call location lcnt: Enhancement fixups erts: Add lcnt port and suspend options Increase ethr event and lock counting constants to allow at least +A 1024.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index b000e2c5d4..fc4c0ba121 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1187,6 +1187,10 @@ void erts_fire_port_monitor(Port *prt, Eterm ref);
void erts_smp_xports_unlock(Port *);
#endif
+#if defined(ERTS_SMP) && defined(ERTS_ENABLE_LOCK_COUNT)
+void erts_lcnt_enable_io_lock_count(int enable);
+#endif
+
#if defined(ERTS_SMP) && defined(ERTS_ENABLE_LOCK_CHECK)
int erts_lc_is_port_locked(Port *);
#endif