ROOT logo
// @(#)root/thread:$Id: TPosixThreadFactory.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Fons Rademakers   01/07/97

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/


#ifndef ROOT_TPosixThreadFactory
#define ROOT_TPosixThreadFactory

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TPosixThreadFactory                                                  //
//                                                                      //
// This is a factory for Posix thread components.                       //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TThreadFactory
#include "TThreadFactory.h"
#endif

class TMutexImp;
class TConditionImp;
class TThreadImp;


class TPosixThreadFactory : public TThreadFactory {

public:
   TPosixThreadFactory(const char *name = "Posix", const char *title = "Posix Thread Factory");
   virtual ~TPosixThreadFactory() { }

   virtual TMutexImp      *CreateMutexImp();
   virtual TConditionImp  *CreateConditionImp(TMutexImp *m);
   virtual TThreadImp     *CreateThreadImp();

   ClassDef(TPosixThreadFactory,0)  // Posix thread factory
};

#endif
 TPosixThreadFactory.h:1
 TPosixThreadFactory.h:2
 TPosixThreadFactory.h:3
 TPosixThreadFactory.h:4
 TPosixThreadFactory.h:5
 TPosixThreadFactory.h:6
 TPosixThreadFactory.h:7
 TPosixThreadFactory.h:8
 TPosixThreadFactory.h:9
 TPosixThreadFactory.h:10
 TPosixThreadFactory.h:11
 TPosixThreadFactory.h:12
 TPosixThreadFactory.h:13
 TPosixThreadFactory.h:14
 TPosixThreadFactory.h:15
 TPosixThreadFactory.h:16
 TPosixThreadFactory.h:17
 TPosixThreadFactory.h:18
 TPosixThreadFactory.h:19
 TPosixThreadFactory.h:20
 TPosixThreadFactory.h:21
 TPosixThreadFactory.h:22
 TPosixThreadFactory.h:23
 TPosixThreadFactory.h:24
 TPosixThreadFactory.h:25
 TPosixThreadFactory.h:26
 TPosixThreadFactory.h:27
 TPosixThreadFactory.h:28
 TPosixThreadFactory.h:29
 TPosixThreadFactory.h:30
 TPosixThreadFactory.h:31
 TPosixThreadFactory.h:32
 TPosixThreadFactory.h:33
 TPosixThreadFactory.h:34
 TPosixThreadFactory.h:35
 TPosixThreadFactory.h:36
 TPosixThreadFactory.h:37
 TPosixThreadFactory.h:38
 TPosixThreadFactory.h:39
 TPosixThreadFactory.h:40
 TPosixThreadFactory.h:41
 TPosixThreadFactory.h:42
 TPosixThreadFactory.h:43
 TPosixThreadFactory.h:44
 TPosixThreadFactory.h:45
 TPosixThreadFactory.h:46