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 PAA29341; Thu, 5 Apr 2001 15:55:55 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA29456 for ; Thu, 5 Apr 2001 15:55:55 +0200 (MET DST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.10]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f35Dtrv28055 for ; Thu, 5 Apr 2001 15:55:53 +0200 (MET DST) Received: from zigzag.cs.huji.ac.il ([132.65.208.204] ident=root) by cs.huji.ac.il with esmtp (Exim 3.22 #1) id 14lAEr-00065P-00 for caml-list@inria.fr; Thu, 05 Apr 2001 15:55:53 +0200 Received: (from orodeh@localhost) by zigzag.cs.huji.ac.il (8.9.3/1.1c) id PAA23902; Thu, 5 Apr 2001 15:55:53 +0200 Date: Thu, 5 Apr 2001 15:55:53 +0200 (IST) From: Ohad Rodeh To: caml-list@inria.fr Subject: [Caml-list] exception tracing with Threads Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk List, I've just tried to use the exception tracing mechanism for threads. Unfortunately, when using threads this option is not enabled. For example: let _ = let i=1 in let b=2 in let c=3 in failwith "Sanity" fails with the trace: Fatal error: uncaught exception Failure("Sanity") Raised at module Pervasives, character 1012 Called from module Xx, character 68 While the equivalent program with threads: let _ = let _ = Thread.create (fun () -> let i=1 in let b=2 in let c=3 in failwith "Sanity" ) () in Thread.delay 4.0; () fails without a trace. Any ideas? Thanks, Ohad. ---------------------------------------------------------- orodeh@cs.huji.ac.il www.cs.huji.ac.il/~orodeh ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr