DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Constant Groups | Macros | Functions
threadsync.h File Reference

Go to the source code of this file.

Namespaces

 dmtcp
 
 dmtcp::ThreadSync
 

Constant Groups

 dmtcp
 
 dmtcp::ThreadSync
 

Macros

#define WRAPPER_EXECUTION_DISABLE_CKPT()
 
#define WRAPPER_EXECUTION_ENABLE_CKPT()
 
#define DUMMY_WRAPPER_EXECUTION_DISABLE_CKPT()   bool __wrapperExecutionLockAcquired = false;
 
#define WRAPPER_EXECUTION_GET_EXCL_LOCK()
 
#define WRAPPER_EXECUTION_RELEASE_EXCL_LOCK()
 

Functions

void dmtcp::ThreadSync::acquireLocks ()
 
void dmtcp::ThreadSync::releaseLocks ()
 
void dmtcp::ThreadSync::resetLocks ()
 
void dmtcp::ThreadSync::initThread ()
 
void dmtcp::ThreadSync::initMotherOfAll ()
 
void dmtcp::ThreadSync::destroyDmtcpWorkerLockLock ()
 
void dmtcp::ThreadSync::destroyDmtcpWorkerLockUnlock ()
 
int dmtcp::ThreadSync::destroyDmtcpWorkerLockTryLock ()
 
void dmtcp::ThreadSync::delayCheckpointsLock ()
 
void dmtcp::ThreadSync::delayCheckpointsUnlock ()
 
bool dmtcp::ThreadSync::wrapperExecutionLockLock ()
 
void dmtcp::ThreadSync::wrapperExecutionLockUnlock ()
 
bool dmtcp::ThreadSync::wrapperExecutionLockLockExcl ()
 
bool dmtcp::ThreadSync::threadCreationLockLock ()
 
void dmtcp::ThreadSync::threadCreationLockUnlock ()
 
bool dmtcp::ThreadSync::libdlLockLock ()
 
void dmtcp::ThreadSync::libdlLockUnlock ()
 
void dmtcp::ThreadSync::waitForThreadsToFinishInitialization ()
 
void dmtcp::ThreadSync::incrementUninitializedThreadCount ()
 
void dmtcp::ThreadSync::decrementUninitializedThreadCount ()
 
void dmtcp::ThreadSync::threadFinishedInitialization ()
 
void dmtcp::ThreadSync::disableLockAcquisitionForThisThread ()
 
void dmtcp::ThreadSync::enableLockAcquisitionForThisThread ()
 
bool dmtcp::ThreadSync::isThisThreadHoldingAnyLocks ()
 
bool dmtcp::ThreadSync::sendCkptSignalOnUnlock ()
 
bool dmtcp::ThreadSync::isOkToGrabLock ()
 
void dmtcp::ThreadSync::setOkToGrabLock ()
 
void dmtcp::ThreadSync::unsetOkToGrabLock ()
 
void dmtcp::ThreadSync::sendCkptSignalOnFinalUnlock ()
 
void dmtcp::ThreadSync::setSendCkptSignalOnFinalUnlock ()
 
void dmtcp::ThreadSync::incrNumUserThreads ()
 
void dmtcp::ThreadSync::processPreResumeCB ()
 
void dmtcp::ThreadSync::waitForUserThreadsToFinishPreResumeCB ()
 

Macro Definition Documentation

#define DUMMY_WRAPPER_EXECUTION_DISABLE_CKPT ( )    bool __wrapperExecutionLockAcquired = false;

Definition at line 40 of file threadsync.h.

#define WRAPPER_EXECUTION_DISABLE_CKPT ( )
Value:
/*JTRACE("Acquiring wrapperExecutionLock");*/ \
bool __wrapperExecutionLockAcquired = \
if (__wrapperExecutionLockAcquired) { \
/*JTRACE("Acquired wrapperExecutionLock"); */ \
}

Definition at line 26 of file threadsync.h.

#define WRAPPER_EXECUTION_ENABLE_CKPT ( )
Value:
if (__wrapperExecutionLockAcquired) { \
/*JTRACE("Releasing wrapperExecutionLock"); */ \
}

Definition at line 34 of file threadsync.h.

#define WRAPPER_EXECUTION_GET_EXCL_LOCK ( )
Value:

Definition at line 43 of file threadsync.h.

#define WRAPPER_EXECUTION_RELEASE_EXCL_LOCK ( )