Message-ID: <42428143.7060803 at rftp.com> Date: Thu, 24 Mar 2005 00:58:43 -0800 From: Robert Roessler Organization: Robert's High-performance Software MIME-Version: 1.0 To: lablgtk at math.nagoya-u.ac.jp Subject: SIGINTR from Caml code? On Windows? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I am trying to finish my LablGTK interface to the Caml toplevel, and I notice that one of the pieces of *nix functionality that *could* have been done for Windows was not... in particular, kill could have been partially implemented to the extent of handling SIGINTR... This would have been quite useful in allowing a Caml program to "send" this signal to any process sharing the same Win32 "console". Even more frustrating, the Caml runtime is ready to receive SIGINTR-like events. :( Is there a way around this? Obviously, one can construct a Caml-callable piece of C which does a "GenerateConsoleCtrlEvent" (for instance), but this defeats the whole point of having a Caml/GTK-based [portable] GUI for Caml. Sigh. This is one of those times when I really hope I am missing something... :) Robert Roessler robertr@rftp.com http://www.rftp.com