All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_AbortableLockImpl::LockState Class Reference

#include <UT_AbortableLock.h>

Public Member Functions

 LockState ()
 ~LockState ()=default
bool hasLock (int thread_id)
void markAsLocked (int thread_id)
void markAsUnlocked ()
void markAsWaiting (int thread_id)
void markAsNotWaiting (int thread_id)
bool findDeadlock (int thread_id)
bool verifyDeadlock (int start, const UT_IntArray &threads, const UT_ValArray< LockState * > &locks)
void printDeadlock (int start, const UT_IntArray &threads, const UT_ValArray< LockState * > &locks)
void markDeadlock (int thread_id)

Static Public Member Functions

static bool getPrintDeadlocks ()
static void setPrintDeadlocks (bool flag)
static bool runUnitTest (bool print_progress, bool for_performance)

Detailed Description

Definition at line 28 of file UT_AbortableLock.h.

Constructor & Destructor Documentation

UT_AbortableLockImpl::LockState::LockState ( )
UT_AbortableLockImpl::LockState::~LockState ( )

Member Function Documentation

bool UT_AbortableLockImpl::LockState::findDeadlock ( int  thread_id)
static bool UT_AbortableLockImpl::LockState::getPrintDeadlocks ( )
bool UT_AbortableLockImpl::LockState::hasLock ( int  thread_id)
void UT_AbortableLockImpl::LockState::markAsLocked ( int  thread_id)
void UT_AbortableLockImpl::LockState::markAsNotWaiting ( int  thread_id)
void UT_AbortableLockImpl::LockState::markAsUnlocked ( )
void UT_AbortableLockImpl::LockState::markAsWaiting ( int  thread_id)
void UT_AbortableLockImpl::LockState::markDeadlock ( int  thread_id)
void UT_AbortableLockImpl::LockState::printDeadlock ( int  start,
const UT_IntArray threads,
const UT_ValArray< LockState * > &  locks 
static bool UT_AbortableLockImpl::LockState::runUnitTest ( bool  print_progress,
bool  for_performance 
static void UT_AbortableLockImpl::LockState::setPrintDeadlocks ( bool  flag)
bool UT_AbortableLockImpl::LockState::verifyDeadlock ( int  start,
const UT_IntArray threads,
const UT_ValArray< LockState * > &  locks 

The documentation for this class was generated from the following file: