|
MPD
0.17~git
|
Support for locking data structures from the database, for safe multi-threading. More...
Go to the source code of this file.
Functions | |
| static G_GNUC_PURE bool | holding_db_lock (void) |
| Does the current thread hold the database lock? | |
| static void | db_lock (void) |
| Obtain the global database lock. | |
| static void | db_unlock (void) |
| Release the global database lock. | |
Variables | |
| GStaticMutex | db_mutex |
| GThread * | db_mutex_holder |
Support for locking data structures from the database, for safe multi-threading.
Definition in file db_lock.h.
| static void db_lock | ( | void | ) | [inline, static] |
| static void db_unlock | ( | void | ) | [inline, static] |
| static G_GNUC_PURE bool holding_db_lock | ( | void | ) | [inline, static] |
| GStaticMutex db_mutex |
| GThread* db_mutex_holder |
1.7.6.1