MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LockQueue Class Reference

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)

Detailed Description

Definition at line 27 of file LockQueue.hpp.

Member Function Documentation

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.

Here is the caller graph for this function:

void LockQueue::clear ( Pool thePool)

Clear lock queue

Definition at line 208 of file LockQueue.cpp.

void LockQueue::dump_queue ( Pool thePool,
SimulatedBlock block 
)

Dump

Definition at line 217 of file LockQueue.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files: