2 // Author: Matevz Tadel 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef AliChildReaper_H
11 #define AliChildReaper_H
16 //______________________________________________________________________________
17 // Short description of AliChildReaper
20 class AliChildReaper : public TObject,
24 void ChildDeath(Int_t pid, Int_t status); // *SIGNAL*
26 static AliChildReaper* Instance();
30 virtual ~AliChildReaper() {}
32 AliChildReaper(const AliChildReaper&); // Not implemented
33 AliChildReaper& operator=(const AliChildReaper&); // Not implemented
35 static void sig_handler(int sig);
37 static AliChildReaper* fgTheOne;
39 ClassDef(AliChildReaper, 0);