Re: [ROOT] Temporarily replacing the ^C (interrupt signal) handler

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Nov 28 2001 - 09:51:15 MET


Yes, your approach is perfectly fine if you want to replace the
default handler.

-- Fons



Walter F.J. Mueller wrote:

> Fons Rademakers wrote:
> 
>>   what does not work? I tried the same sequence and it worked fine
>>for me, i.e. my new interrupt handler was called and after removing
>>it and add()ing the gApplication signalhandler I had back the old
>>handler.
>>
> 
> OK, I made indeed a mistake which prevented the re-installation of
> default Rint interrupt handler. However I still wonder whether my
> whole choosen approach is the way of choice in the ROOT (or more
> specifically the Rint) environment to solve this problem.
> 
> 			Cheers,	Walter
> 
> --
> Walter F.J. Mueller   Mail:  W.F.J.Mueller@gsi.de
> GSI,  Abteilung KP3   Phone: +49-6159-71-2766
> D-64291 Darmstadt     FAX:   +49-6159-71-2989
> WWW:   http://www-kp3.gsi.de/www/kp3/people/mueller.html
> PGP:   http://www-kp3.gsi.de/~mueller/pgp.shtml
> 
> 


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:10 MET