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 PAA08089; Sun, 1 Dec 2002 15:06:54 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 PAA07950 for ; Sun, 1 Dec 2002 15:06:53 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from alan-schm1p.inria.fr (pool-151-197-121-248.phil.east.verizon.net [151.197.121.248]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gB1E6p128880 for ; Sun, 1 Dec 2002 15:06:52 +0100 (MET) Received: by alan-schm1p.inria.fr (Postfix, from userid 501) id DFDEE4438; Sun, 1 Dec 2002 10:06:39 -0500 (EST) Date: Sun, 1 Dec 2002 10:06:39 -0500 From: Alan Schmitt To: caml-list@inria.fr Subject: Re: [Caml-list] signals and exceptions Message-ID: <20021201150639.GG2580@alan-schm1p> Mail-Followup-To: caml-list@inria.fr References: <20021130183231.GA20600@Xenon.stanford.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021130183231.GA20600@Xenon.stanford.edu> User-Agent: Mutt/1.4i X-Editor: Vim http://vim.sf.net/ X-Info: http://pauillac.inria.fr/~aschmitt/ X-Operating-System: Linux/2.4.20-0.5mdk (i686) X-Uptime: 10:05am up 1 day, 13:28, 1 user, load average: 0.00, 0.00, 0.00 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk * Andy Chou (acc@CS.Stanford.EDU) wrote: > Can I safely throw an exception inside a signal handler, for the purposes > of timeout? I think so ... I've been doing it in a program for some time and I never had a segfault. Alan -- The hacker: someone who figured things out and made something cool happen. ------------------- 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