Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] dumb question about Unix module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi VANICAT <vanicat@l...>
Subject: Re: [Caml-list] dumb question about Unix module
Nils Goesche <cartan@cartan.de> writes:

> Hi!
> 
> Unix.alarm 3 will raise a signal after a few seconds all right.  Now,
> how do I catch it?

You have to look elsewhere : in the module Sys of the standard library
there is some function for signal handling, that can catch it.

-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr