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

bool Log_Writer::EnoughPagesFreeForUserTaskWrite ( const Log_DeviceBlockCount  pagesFreeOnDevice  )  const [inline, private]

Checks if pagesFreeOnDevice are enough pages for allowing user-tasks the writing onto the log.

pagesFreeOnDevice [in]
pagesFreeOnDevice should not include LOG_RESTART_RESERVE_SPACE. It is expected that pagesFreeOnDevice are determined by FreePagesForLogWriter().

Definition at line 395 of file Log_Writer.hpp.

References m_PagesNotAvailableForUsers.

Referenced by Run().

        // PTS 1115488 mb 2002-05-03 new
        return pagesFreeOnDevice > m_PagesNotAvailableForUsers;

Generated by  Doxygen 1.6.0   Back to index