From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA05677 for caml-redistribution; Mon, 15 Mar 1999 18:41:17 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA04330 for ; Mon, 15 Mar 1999 16:05:27 +0100 (MET) Received: from mail5.microsoft.com (mail5.microsoft.com [131.107.3.121]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id QAA04733 for ; Mon, 15 Mar 1999 16:05:26 +0100 (MET) Received: by INET-IMC-05 with Internet Mail Service (5.5.2524.0) id ; Mon, 15 Mar 1999 07:05:26 -0800 Message-ID: <39ADCF833E74D111A2D700805F1951EF0F00BA6B@RED-MSG-06> From: Don Syme To: caml-list@inria.fr Subject: threads & OCamlTK Date: Mon, 15 Mar 1999 07:05:21 -0800 X-Mailer: Internet Mail Service (5.5.2524.0) Sender: weis And, on a vaguely related topic, is it possible to use threads with programs that also use OCamlTK? I know Tk is not threadsafe, but if only one thread is calling Tk functions, then perhaps it's still OK? Also, the manual says: > All object files on the command line must also have been compiled with the -thread option, > which selects a special, thread-safe version of the standard library (see chapter 8). But does this apply to the object files contained in libraries such as OCamlTK, Unix, Num and Str? Finally, if a particular library has used non-threadsafe constructs, and you try to link it into a threaded program, some compiler support for detecting and warning about this might be handy. Thanks, Don -----Original Message----- From: Don Syme [mailto:dsyme@microsoft.com] Sent: 15 March 1999 14:27 To: caml-list@inria.fr Subject: Break under Windows NT Hi, Is it true that under the Windows NT version of OCaml there's no easy way of sending the equivalent of a SIGINT to a OCaml process and have OCaml raise an exception? Or have I missed something? I need to be able to asynchronously break long running computations under NT. BTW I'm also using OCamlTK. Thanks, Don