#include <lockable.h>
Inheritance diagram for mysqlpp::BasicLock:
Public Member Functions | |
BasicLock (bool is_locked=false) | |
Create object. | |
~BasicLock () | |
Destroy object. | |
bool | lock () |
Lock the object. | |
void | unlock () |
Unlock the object. | |
bool | locked () const |
Returns true if object is locked. | |
void | set (bool b) |
Set the lock state. |
This is the only Lock implementation available in this version of MySQL++. It will be supplemented with a better implementation for use with threads at a later date.
|
Lock the object.
Implements mysqlpp::Lock. |