// $Header: /cvs/gled-1.2/GledCore/Gled/GCondition.h,v 1.4 2005/03/11 17:50:16 matevz Exp $ // Copyright (C) 1999-2005, Matevz Tadel. All rights reserved. // This file is part of GLED, released under GNU General Public License version 2. // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/. #ifndef Gled_GCondition_H #define Gled_GCondition_H #include #include #ifndef __CINT__ #include #endif class GCondition : public GMutex { private: #ifndef __CINT__ pthread_cond_t mCond; #endif public: GCondition(Init_e e=fast); virtual ~GCondition(); Int_t Wait(); Int_t TimedWaitMS(UInt_t wait_ms); Int_t TimedWaitMuS(UInt_t wait_mus); Int_t Signal(); Int_t Broadcast(); #include "GCondition.h7" ClassDef(GCondition,0) }; // endclass GCondition #endif