From bce6bb21ec9f63746f6f482a7db209c899845ede Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Mon, 2 Oct 2006 17:55:36 +0000 Subject: [PATCH] Xavier code for killing a thread commented out for a while since it interacts badly with (labl?)Gtk. --- matita/matitaGui.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matita/matitaGui.ml b/matita/matitaGui.ml index ed90fd29d..dcbbb6df4 100644 --- a/matita/matitaGui.ml +++ b/matita/matitaGui.ml @@ -437,7 +437,9 @@ class gui () = (* This function is called just before the thread's timeslice ends *) if Some(Thread.id(Thread.self())) = !interrupt then (interrupt := None; raise Sys.Break) in +(* let _ = Sys.signal Sys.sigvtalrm (Sys.Signal_handle force_interrupt) in +*) fun () -> match !worker_thread with None -> assert false -- 2.39.2