![]() |
|
|||
File indexing completed on 2025-07-11 08:46:25
0001 // @(#)root/thread:$Id$ 0002 // Author: Fons Rademakers 01/07/97 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 0013 #ifndef ROOT_TPosixThreadFactory 0014 #define ROOT_TPosixThreadFactory 0015 0016 ////////////////////////////////////////////////////////////////////////// 0017 // // 0018 // TPosixThreadFactory // 0019 // // 0020 // This is a factory for Posix thread components. // 0021 // // 0022 ////////////////////////////////////////////////////////////////////////// 0023 0024 #include "TThreadFactory.h" 0025 0026 class TMutexImp; 0027 class TConditionImp; 0028 class TThreadImp; 0029 0030 0031 class TPosixThreadFactory : public TThreadFactory { 0032 0033 public: 0034 TPosixThreadFactory(const char *name = "Posix", const char *title = "Posix Thread Factory"); 0035 virtual ~TPosixThreadFactory() { } 0036 0037 TMutexImp *CreateMutexImp(Bool_t recursive) override; 0038 TConditionImp *CreateConditionImp(TMutexImp *m) override; 0039 TThreadImp *CreateThreadImp() override; 0040 0041 ClassDefOverride(TPosixThreadFactory,0) // Posix thread factory 0042 }; 0043 0044 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |