From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA27107; Thu, 7 Mar 2002 10:21:36 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA27156 for caml-list@pauillac.inria.fr; Thu, 7 Mar 2002 10:21:35 +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 LAA04010 for ; Wed, 6 Mar 2002 11:23:06 +0100 (MET) Received: from orinoco.alve.com ([209.99.70.2]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g26AN5v07487 for ; Wed, 6 Mar 2002 11:23:05 +0100 (MET) Received: from localhost (mattwb@valery.alve.com [209.99.70.15]) by orinoco.alve.com (8.11.6/8.11.6) with ESMTP id g26ATVL19430; Wed, 6 Mar 2002 04:29:31 -0600 To: Oliver.George@norske-skog.com.au Cc: caml-list@inria.fr Subject: Re: [Caml-list] newby using Thread on windows (different than linux)... In-Reply-To: <94162A8208F3D211A3FA00902712E10302B65EFB@mailserver.boyer.anm.com.au> References: <94162A8208F3D211A3FA00902712E10302B65EFB@mailserver.boyer.anm.com.au> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Capitol Reef) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020306042310C.mattwb@valery.alve.com> Date: Wed, 06 Mar 2002 04:23:10 -0600 From: mattwb@valery.alve.com X-Dispatcher: imput version 991025(IM133) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >This script works on my debian/testing server but will bomb out on windows >nt running ocaml 3.04. It bombs out at the first Thread.delay statement, >quietly and without error... The problem is on +ocaml-3.04/otherlibs/systhreads/thread_win32.ml Line 54: let preempt signal = yield() Can be changed to let preempt signal = if not (!Sys.interactive && signal=(-11)) then yield() On the surface, this appears to work, but I cannot guarantee that this will not cause any negative consequences in other situations. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners