From 2e735eb94b7324c0e149fb4e884a7b405581eb4a Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Wed, 26 Apr 2017 03:12:21 +0200 Subject: [stm] Tweak debug options. We allow for a dynamic setting of the STM debug flag, and we print some more information about the result of `process_transaction`. We also fix a printing bug due to mixing `Printf` and `Format`, which are not compatible. --- lib/flags.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/flags.mli') diff --git a/lib/flags.mli b/lib/flags.mli index 0b00ac13c..7ce808041 100644 --- a/lib/flags.mli +++ b/lib/flags.mli @@ -49,6 +49,9 @@ val debug : bool ref val in_debugger : bool ref val in_toplevel : bool ref +(** Enable STM debugging *) +val stm_debug : bool ref + val profile : bool (* Legacy flags *) -- cgit v1.2.3