| 
    TcpLib
    
   | 
 
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked(). Mehr ...
#include <EuCriticalSection.h>

Öffentliche Methoden | |
| CriticalSection () | |
| virtual | ~CriticalSection () | 
| CriticalSection (const CriticalSection &rT) | |
| void | lock () | 
| void | unlock () | 
| bool | isLocked () const | 
| CriticalSection & | operator= (const CriticalSection &rT) | 
Private Attribute | |
| std::mutex | m_ExclusiveAccessMutex | 
| bool | m_bIsLocked | 
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Beispiel
| eut::CriticalSection::CriticalSection | ( | ) | 
Konstruktor.
      
  | 
  virtual | 
Destruktor.
| eut::CriticalSection::CriticalSection | ( | const CriticalSection & | rT | ) | 
Copy-Konstruktor.
| [in] | rT | Von diesem Objekt werden die Daten übernommen. | 
| bool eut::CriticalSection::isLocked | ( | ) | const | 
Ist die CriticalSection in Sperrmodus?
| void eut::CriticalSection::lock | ( | ) | 
Initiiert eine CriticalSection.
| CriticalSection & eut::CriticalSection::operator= | ( | const CriticalSection & | rT | ) | 
Zuweisungsoperator.
| [in] | rT | Von diesem Objekt werden die Daten übernommen. | 
| void eut::CriticalSection::unlock | ( | ) | 
Beendet eine CriticalSection.
      
  | 
  private | 
Wenn eine CriticalSection den Zugriff sperrt, wird dieses Attribut auf true und beim Freigeben wieder auf false gesetzt.
      
  | 
  private |