#include <LOW_objectSynchronizer.h>
Collaboration diagram for LOW_objectSynchronizer::__synchronizeStaticWriteWeak:
Public Member Functions | |
__synchronizeStaticWriteWeak (LOW_thread_rwlock **inRwlockSingleton, LOW_platformMiscFactory::threadIdent_t &inWriteLockHolder, std::string inFile, int inLine) | |
Obtain the weak write lock. | |
~__synchronizeStaticWriteWeak () | |
Release the weak write lock. | |
Private Attributes | |
LOW_thread_rwlock ** | staticRwLock |
Pointer to pointer to the static lock. | |
bool | wasObtainedWeakly |
Indicate if lock was really obtained. | |
LOW_platformMiscFactory::threadIdent_t & | writeLockHolder |
Works similar to __synchronizeMethodRead with one difference in the following situation: If the calling thread already has a write lock then no blocking will occur and no lock will be obtained.
Definition at line 261 of file LOW_objectSynchronizer.h.
|
Obtain the weak write lock. Inlined for performance reasons.
Definition at line 269 of file LOW_objectSynchronizer.h. References LOW_platformMisc::getThreadID(), LOW_thread_Factory::new_rwlock(), LOW_helper_msglog::objSync_getLock_dl, LOW_helper_msglog::objSync_lockFailed_dl, LOW_helper_msglog::printDebug(), staticRwLock, wasObtainedWeakly, and writeLockHolder. |
|
Release the weak write lock. Inlined for performance reasons. Definition at line 304 of file LOW_objectSynchronizer.h. References wasObtainedWeakly, and writeLockHolder. |
|
Pointer to pointer to the static lock.
Definition at line 316 of file LOW_objectSynchronizer.h. Referenced by __synchronizeStaticWriteWeak(). |
|
Indicate if lock was really obtained.
Definition at line 317 of file LOW_objectSynchronizer.h. Referenced by __synchronizeStaticWriteWeak(), and ~__synchronizeStaticWriteWeak(). |
|
Definition at line 318 of file LOW_objectSynchronizer.h. Referenced by __synchronizeStaticWriteWeak(), and ~__synchronizeStaticWriteWeak(). |