#include <Guard.h>
Static Public Member Functions | |
template<class LockType1, class LockType2> | |
static void | shareScope (LockHolder< LockType1 > &l1, LockHolder< LockType2 > &l2) |
template<class LockType> | |
static void | destroyScope (LockHolder< LockType > &l) |
static void ZThread::UnlockedScope::destroyScope | ( | LockHolder< LockType > & | l | ) | [inline, static] |
static void ZThread::UnlockedScope::shareScope | ( | LockHolder< LockType1 > & | l1, | |
LockHolder< LockType2 > & | l2 | |||
) | [inline, static] |
A new protection scope is being created by l2, using an existing scope created by l1.
lock1 | LockType1& is the LockHolder that holds the desired lock | |
lock2 | LockType1& is the LockHolder that wants to share |