TPosixMutex


class description - source file - inheritance tree

class TPosixMutex : public TMutexImp


    public:
TPosixMutex TPosixMutex() TPosixMutex TPosixMutex(TPosixMutex&) virtual void ~TPosixMutex() static TClass* Class() virtual TClass* IsA() const virtual Int_t Lock() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) virtual Int_t TryLock() virtual Int_t UnLock()

Data Members

private:
pthread_mutex_t fMutex the pthread mutex

Class Description

                                                                      
 TPosixMutex                                                          
                                                                      
 This class provides an interface to the posix mutex routines.        
                                                                      


TPosixMutex()
 Create a posix mutex lock.

~TPosixMutex()
 TMutex dtor.

Int_t Lock()
 Lock the mutex.

Int_t TryLock()
 Try locking the mutex. Returns 0 if mutex can be locked.

Int_t UnLock(void)
 Unlock the mutex.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
        TPosixMutex TPosixMutex(TPosixMutex&)


Author: Fons Rademakers 25/06/97
Last update: root/thread:$Name: $:$Id: TPosixMutex.cxx,v 1.1.1.1 2000/05/16 17:00:48 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.