Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] signals and exceptions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alan Schmitt <alan.schmitt@p...>
Subject: Re: [Caml-list] signals and exceptions
* 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