?? c_block.cpp
字號:
/***********************************************************************
* Module: c_block.cpp
* Author: Administrator
* Modified: 2005年9月14日 15:24:33
* Purpose: Implementation of the class c_block
* Comment: 內存片管理類. 在一個內存塊中可以分多個內存片。每個內存片都對應一個更新鎖。 這樣有利于多個進程同時用于更新。塊分類的依據, 有兩種, 一種是按記錄數。一種是位置。兩種其實是一樣的。
***********************************************************************/
#include "c_block.h"
////////////////////////////////////////////////////////////////////////
// Name: c_block::getBlockNum(int record_no)
// Purpose: Implementation of c_block::getBlockNum()
// Parameters:
// - record_no
// Return: int
////////////////////////////////////////////////////////////////////////
int c_block::getBlockNum(int record_no)
{
// TODO : implement
}
////////////////////////////////////////////////////////////////////////
// Name: c_block::getBlockNumByPos(int record_pos)
// Purpose: Implementation of c_block::getBlockNumByPos()
// Comment: 取得一個塊號
// Parameters:
// - record_pos
// Return: int
////////////////////////////////////////////////////////////////////////
int c_block::getBlockNumByPos(int record_pos)
{
// TODO : implement
}
////////////////////////////////////////////////////////////////////////
// Name: c_block::getLockByPos(int record_pos)
// Purpose: Implementation of c_block::getLockByPos()
// Comment: 根據位置來獲得鎖
// Parameters:
// - record_pos
// Return: void*
////////////////////////////////////////////////////////////////////////
void* c_block::getLockByPos(int record_pos)
{
// TODO : implement
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -