MySQL 8.0.40
Source Code Documentation
|
Mutex, the basic synchronization primitive. More...
Functions | |
static void | sync_print_wait_info (FILE *file) |
Prints wait info of the sync system. More... | |
void | sync_print (FILE *file) |
Prints info of the sync system. More... | |
const char * | sync_basename (const char *filename) |
Print the filename "basename" e.g., p = "/a/b/c/d/e.cc" -> p = "e.cc". More... | |
std::string | sync_mutex_to_string (latch_id_t id, const std::string &created) |
String representation of the filename and line number where the latch was created. More... | |
Variables | |
mysql_pfs_key_t | PFS_NOT_INSTRUMENTED (0) |
MutexMonitor * | mutex_monitor |
For monitoring active mutexes. More... | |
Mutex, the basic synchronization primitive.
Created 9/5/1995 Heikki Tuuri
const char * sync_basename | ( | const char * | filename | ) |
Print the filename "basename" e.g., p = "/a/b/c/d/e.cc" -> p = "e.cc".
Print the filename "basename".
[in] | filename | Name from where to extract the basename |
std::string sync_mutex_to_string | ( | latch_id_t | id, |
const std::string & | created | ||
) |
String representation of the filename and line number where the latch was created.
[in] | id | Latch ID |
[in] | created | Filename and line number where it was created |
void sync_print | ( | FILE * | file | ) |
Prints info of the sync system.
[in] | file | where to print |
|
static |
Prints wait info of the sync system.
Note: The instrumental counters are deprecated and prints all 0 for compatibility.
file | - where to print |
MutexMonitor* mutex_monitor |
For monitoring active mutexes.
Defined in sync0sync.cc.
mysql_pfs_key_t PFS_NOT_INSTRUMENTED(0) | ( | 0 | ) |