|
MySQL 5.6.14 Source Code Document
|
Classes | |
| struct | Iterator |
| struct | LockQueueElement |
Public Types | |
|
typedef ArrayPool < LockQueueElement > | Pool |
Public Member Functions | |
| Uint32 | lock (SimulatedBlock *, Pool &, const UtilLockReq *, const UtilLockReq **=0) |
| Uint32 | unlock (SimulatedBlock *, Pool &, const UtilUnlockReq *req) |
| bool | first (SimulatedBlock *, Pool &pool, Iterator &) |
| bool | next (Iterator &) |
| int | checkLockGrant (Iterator &, UtilLockReq *req) |
| void | clear (Pool &) |
| void | dump_queue (Pool &, SimulatedBlock *block) |
Definition at line 27 of file LockQueue.hpp.
| int LockQueue::checkLockGrant | ( | Iterator & | iter, |
| UtilLockReq * | req | ||
| ) |
0 - done 1 - already granted 2 - needs conf
Prev is granted...
Definition at line 157 of file LockQueue.cpp.

| void LockQueue::clear | ( | Pool & | thePool | ) |
Clear lock queue
Definition at line 208 of file LockQueue.cpp.
| void LockQueue::dump_queue | ( | Pool & | thePool, |
| SimulatedBlock * | block | ||
| ) |