Реферат: Блокировки в MS SQL Server 2000
static CProxy& GetObject(int level = -1);
~CObject()
{
DeleteCriticalSection(&exclusive);
if (hMutex) CloseHandle(hMutex);
}
protected:
CProxy& BeginTran(int level)
{
return *(new CProxy(this,level));
}
void RequestExclusive(int level)
{
if (level >= READ_UNCOMMITTED)
TestExclusive();
}
void RequestShared(int level)
{
}
void RemoveShared(int level)
{
}
void RemoveLocks()
{
RemoveAllLocks();
}
private:
CObject()
{