Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

bool SAPDBMem_RawAllocator::WriteProtect (  )  [inherited]

disables any changes in memory managed by the allocator. This is possible only if the allocator is based on a block alloctor.

Returns:
true if successful, otherwise false

Definition at line 2808 of file SAPDBMem_RawAllocator.cpp.

References SAPDBMem_RawAllocator::m_writeProtected, and SAPDBMem_RawAllocator::Protect().

Referenced by SharedSQL_CommandCache::SharedSQL_CommandCache().

{
    m_writeProtected = this->Protect (MEMORYPROTECTION_READONLY);
    return m_writeProtected;
}


Generated by  Doxygen 1.6.0   Back to index