My Project
Public Member Functions
Mutex_sentry Class Reference

List of all members.

Public Member Functions

 Mutex_sentry (mysql_mutex_t *mutex)

Detailed Description

Helper class to hold a mutex for the duration of the block.

Eliminates the need for explicit unlocking of mutexes on, e.g., error returns. On passing a null pointer, the sentry will not do anything.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines