Skip to content
Snippets Groups Projects
Commit 36dce791 authored by François Bobot's avatar François Bobot
Browse files

[Debug] use Sys.sigint instead of 24

parent cb2d1769
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,7 @@ let () = at_exit (fun () ->
(** SIGXCPU cpu time limit reached *)
let _ =
(** TODO? have a possible callback for printing different message*)
Sys.signal 24 (Sys.Signal_handle (fun _ -> exit 2))
Sys.signal Sys.sigint (Sys.Signal_handle (fun _ -> exit 2))
let register_stats ~print ~name ~init =
let s = ref init in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment