source:
dev/BasicCompiler64/CLockParameter.cpp@
68
| Last change on this file since 68 was 3, checked in by , 19 years ago | |
|---|---|
| File size: 310 bytes | |
| Rev | Line | |
|---|---|---|
| [3] | 1 | #include "../BasicCompiler_Common/common.h" |
| 2 | #include "opcode.h" | |
| 3 | ||
| 4 | CDBLockParms::CDBLockParms(){ | |
| 5 | } | |
| 6 | CDBLockParms::~CDBLockParms(){ | |
| 7 | } | |
| 8 | void CDBLockParms::lock(int level){ | |
| 9 | array_LevelCount[level]++; | |
| 10 | } | |
| 11 | void CDBLockParms::unlock(int level){ | |
| 12 | array_LevelCount[level]--; | |
| 13 | } | |
| 14 | ||
| 15 | CDBLockParms obj_DBLockParms; |
Note:
See TracBrowser
for help on using the repository browser.
