MySQL 8.0.40
Source Code Documentation
sync0sync.h File Reference

Mutex, the basic synchronization primitive. More...

#include "univ.i"
#include "ut0counter.h"

Go to the source code of this file.

Classes

struct  mysql_pfs_key_t
 Define for performance schema registration key. More...
 

Macros

#define PFS_SKIP_BUFFER_MUTEX_RWLOCK
 
#define PFS_SKIP_EVENT_MUTEX
 

Functions

void sync_print (FILE *file)
 Prints info of the sync system. More...
 

Variables

mysql_pfs_key_t alter_stage_mutex_key
 
mysql_pfs_key_t autoinc_mutex_key
 
mysql_pfs_key_t autoinc_persisted_mutex_key
 
mysql_pfs_key_t buf_pool_chunks_mutex_key
 
mysql_pfs_key_t buf_pool_flush_state_mutex_key
 
mysql_pfs_key_t buf_pool_LRU_list_mutex_key
 
mysql_pfs_key_t buf_pool_free_list_mutex_key
 
mysql_pfs_key_t buf_pool_zip_free_mutex_key
 
mysql_pfs_key_t buf_pool_zip_hash_mutex_key
 
mysql_pfs_key_t buf_pool_zip_mutex_key
 
mysql_pfs_key_t ddl_autoinc_mutex_key
 
mysql_pfs_key_t dict_foreign_err_mutex_key
 
mysql_pfs_key_t dict_persist_dirty_tables_mutex_key
 
mysql_pfs_key_t dict_sys_mutex_key
 
mysql_pfs_key_t dict_table_mutex_key
 
mysql_pfs_key_t parser_mutex_key
 
mysql_pfs_key_t fil_system_mutex_key
 
mysql_pfs_key_t flush_list_mutex_key
 
mysql_pfs_key_t fts_bg_threads_mutex_key
 
mysql_pfs_key_t fts_delete_mutex_key
 
mysql_pfs_key_t fts_optimize_mutex_key
 
mysql_pfs_key_t fts_doc_id_mutex_key
 
mysql_pfs_key_t fts_pll_tokenize_mutex_key
 
mysql_pfs_key_t hash_table_mutex_key
 
mysql_pfs_key_t ibuf_bitmap_mutex_key
 
mysql_pfs_key_t ibuf_mutex_key
 
mysql_pfs_key_t ibuf_pessimistic_insert_mutex_key
 
mysql_pfs_key_t lock_free_hash_mutex_key
 
mysql_pfs_key_t log_checkpointer_mutex_key
 
mysql_pfs_key_t log_closer_mutex_key
 
mysql_pfs_key_t log_writer_mutex_key
 
mysql_pfs_key_t log_flusher_mutex_key
 
mysql_pfs_key_t log_write_notifier_mutex_key
 
mysql_pfs_key_t log_flush_notifier_mutex_key
 
mysql_pfs_key_t log_limits_mutex_key
 
mysql_pfs_key_t log_files_mutex_key
 
mysql_pfs_key_t log_cmdq_mutex_key
 
mysql_pfs_key_t log_sn_lock_key
 
mysql_pfs_key_t log_sn_mutex_key
 
mysql_pfs_key_t log_sys_arch_mutex_key
 
mysql_pfs_key_t page_sys_arch_mutex_key
 
mysql_pfs_key_t page_sys_arch_oper_mutex_key
 
mysql_pfs_key_t page_sys_arch_client_mutex_key
 
mysql_pfs_key_t mutex_list_mutex_key
 
mysql_pfs_key_t recalc_pool_mutex_key
 
mysql_pfs_key_t page_cleaner_mutex_key
 
mysql_pfs_key_t purge_sys_pq_mutex_key
 
mysql_pfs_key_t recv_sys_mutex_key
 
mysql_pfs_key_t recv_writer_mutex_key
 
mysql_pfs_key_t rtr_active_mutex_key
 
mysql_pfs_key_t rtr_match_mutex_key
 
mysql_pfs_key_t rtr_path_mutex_key
 
mysql_pfs_key_t rtr_ssn_mutex_key
 
mysql_pfs_key_t temp_space_rseg_mutex_key
 
mysql_pfs_key_t undo_space_rseg_mutex_key
 
mysql_pfs_key_t trx_sys_rseg_mutex_key
 
mysql_pfs_key_t page_zip_stat_per_index_mutex_key
 
mysql_pfs_key_t rw_lock_debug_mutex_key
 
mysql_pfs_key_t rw_lock_list_mutex_key
 
mysql_pfs_key_t rw_lock_mutex_key
 
mysql_pfs_key_t srv_innodb_monitor_mutex_key
 
mysql_pfs_key_t srv_misc_tmpfile_mutex_key
 
mysql_pfs_key_t srv_monitor_file_mutex_key
 
mysql_pfs_key_t sync_thread_mutex_key
 
mysql_pfs_key_t trx_undo_mutex_key
 
mysql_pfs_key_t trx_mutex_key
 
mysql_pfs_key_t trx_pool_mutex_key
 
mysql_pfs_key_t trx_pool_manager_mutex_key
 
mysql_pfs_key_t temp_pool_manager_mutex_key
 
mysql_pfs_key_t lock_sys_page_mutex_key
 
mysql_pfs_key_t lock_sys_table_mutex_key
 
mysql_pfs_key_t lock_wait_mutex_key
 
mysql_pfs_key_t trx_sys_mutex_key
 
mysql_pfs_key_t trx_sys_shard_mutex_key
 
mysql_pfs_key_t trx_sys_serialisation_mutex_key
 
mysql_pfs_key_t srv_sys_mutex_key
 
mysql_pfs_key_t srv_threads_mutex_key
 
mysql_pfs_key_t sync_array_mutex_key
 
mysql_pfs_key_t zip_pad_mutex_key
 
mysql_pfs_key_t row_drop_list_mutex_key
 
mysql_pfs_key_t file_open_mutex_key
 
mysql_pfs_key_t master_key_id_mutex_key
 
mysql_pfs_key_t clone_sys_mutex_key
 
mysql_pfs_key_t clone_task_mutex_key
 
mysql_pfs_key_t clone_snapshot_mutex_key
 
mysql_pfs_key_t parallel_read_mutex_key
 
mysql_pfs_key_t dblwr_mutex_key
 
mysql_pfs_key_t ahi_enabled_mutex_key
 
mysql_pfs_key_t btr_search_latch_key
 
mysql_pfs_key_t buf_block_debug_latch_key
 
mysql_pfs_key_t dict_operation_lock_key
 
mysql_pfs_key_t undo_spaces_lock_key
 
mysql_pfs_key_t rsegs_lock_key
 
mysql_pfs_key_t lock_sys_global_rw_lock_key
 
mysql_pfs_key_t fil_space_latch_key
 
mysql_pfs_key_t fts_cache_rw_lock_key
 
mysql_pfs_key_t fts_cache_init_rw_lock_key
 
mysql_pfs_key_t trx_i_s_cache_lock_key
 
mysql_pfs_key_t trx_purge_latch_key
 
mysql_pfs_key_t index_tree_rw_lock_key
 
mysql_pfs_key_t index_online_log_key
 
mysql_pfs_key_t dict_table_stats_key
 
mysql_pfs_key_t trx_sys_rw_lock_key
 
mysql_pfs_key_t hash_table_locks_key
 
mysql_pfs_key_t PFS_NOT_INSTRUMENTED
 

Detailed Description

Mutex, the basic synchronization primitive.

Created 9/5/1995 Heikki Tuuri

Macro Definition Documentation

◆ PFS_SKIP_BUFFER_MUTEX_RWLOCK

#define PFS_SKIP_BUFFER_MUTEX_RWLOCK

◆ PFS_SKIP_EVENT_MUTEX

#define PFS_SKIP_EVENT_MUTEX

Function Documentation

◆ sync_print()

void sync_print ( FILE *  file)

Prints info of the sync system.

Parameters
[in]filewhere to print

Variable Documentation

◆ ahi_enabled_mutex_key

mysql_pfs_key_t ahi_enabled_mutex_key
extern

◆ alter_stage_mutex_key

mysql_pfs_key_t alter_stage_mutex_key
extern

◆ autoinc_mutex_key

mysql_pfs_key_t autoinc_mutex_key
extern

◆ autoinc_persisted_mutex_key

mysql_pfs_key_t autoinc_persisted_mutex_key
extern

◆ btr_search_latch_key

mysql_pfs_key_t btr_search_latch_key
extern

◆ buf_block_debug_latch_key

mysql_pfs_key_t buf_block_debug_latch_key
extern

◆ buf_pool_chunks_mutex_key

mysql_pfs_key_t buf_pool_chunks_mutex_key
extern

◆ buf_pool_flush_state_mutex_key

mysql_pfs_key_t buf_pool_flush_state_mutex_key
extern

◆ buf_pool_free_list_mutex_key

mysql_pfs_key_t buf_pool_free_list_mutex_key
extern

◆ buf_pool_LRU_list_mutex_key

mysql_pfs_key_t buf_pool_LRU_list_mutex_key
extern

◆ buf_pool_zip_free_mutex_key

mysql_pfs_key_t buf_pool_zip_free_mutex_key
extern

◆ buf_pool_zip_hash_mutex_key

mysql_pfs_key_t buf_pool_zip_hash_mutex_key
extern

◆ buf_pool_zip_mutex_key

mysql_pfs_key_t buf_pool_zip_mutex_key
extern

◆ clone_snapshot_mutex_key

mysql_pfs_key_t clone_snapshot_mutex_key
extern

◆ clone_sys_mutex_key

mysql_pfs_key_t clone_sys_mutex_key
extern

◆ clone_task_mutex_key

mysql_pfs_key_t clone_task_mutex_key
extern

◆ dblwr_mutex_key

mysql_pfs_key_t dblwr_mutex_key
extern

◆ ddl_autoinc_mutex_key

mysql_pfs_key_t ddl_autoinc_mutex_key
extern

◆ dict_foreign_err_mutex_key

mysql_pfs_key_t dict_foreign_err_mutex_key
extern

◆ dict_operation_lock_key

mysql_pfs_key_t dict_operation_lock_key
extern

◆ dict_persist_dirty_tables_mutex_key

mysql_pfs_key_t dict_persist_dirty_tables_mutex_key
extern

◆ dict_sys_mutex_key

mysql_pfs_key_t dict_sys_mutex_key
extern

◆ dict_table_mutex_key

mysql_pfs_key_t dict_table_mutex_key
extern

◆ dict_table_stats_key

mysql_pfs_key_t dict_table_stats_key
extern

◆ fil_space_latch_key

mysql_pfs_key_t fil_space_latch_key
extern

◆ fil_system_mutex_key

mysql_pfs_key_t fil_system_mutex_key
extern

◆ file_open_mutex_key

mysql_pfs_key_t file_open_mutex_key
extern

◆ flush_list_mutex_key

mysql_pfs_key_t flush_list_mutex_key
extern

◆ fts_bg_threads_mutex_key

mysql_pfs_key_t fts_bg_threads_mutex_key
extern

◆ fts_cache_init_rw_lock_key

mysql_pfs_key_t fts_cache_init_rw_lock_key
extern

◆ fts_cache_rw_lock_key

mysql_pfs_key_t fts_cache_rw_lock_key
extern

◆ fts_delete_mutex_key

mysql_pfs_key_t fts_delete_mutex_key
extern

◆ fts_doc_id_mutex_key

mysql_pfs_key_t fts_doc_id_mutex_key
extern

◆ fts_optimize_mutex_key

mysql_pfs_key_t fts_optimize_mutex_key
extern

◆ fts_pll_tokenize_mutex_key

mysql_pfs_key_t fts_pll_tokenize_mutex_key
extern

◆ hash_table_locks_key

mysql_pfs_key_t hash_table_locks_key
extern

◆ hash_table_mutex_key

mysql_pfs_key_t hash_table_mutex_key
extern

◆ ibuf_bitmap_mutex_key

mysql_pfs_key_t ibuf_bitmap_mutex_key
extern

◆ ibuf_mutex_key

mysql_pfs_key_t ibuf_mutex_key
extern

◆ ibuf_pessimistic_insert_mutex_key

mysql_pfs_key_t ibuf_pessimistic_insert_mutex_key
extern

◆ index_online_log_key

mysql_pfs_key_t index_online_log_key
extern

◆ index_tree_rw_lock_key

mysql_pfs_key_t index_tree_rw_lock_key
extern

◆ lock_free_hash_mutex_key

mysql_pfs_key_t lock_free_hash_mutex_key
extern

◆ lock_sys_global_rw_lock_key

mysql_pfs_key_t lock_sys_global_rw_lock_key
extern

◆ lock_sys_page_mutex_key

mysql_pfs_key_t lock_sys_page_mutex_key
extern

◆ lock_sys_table_mutex_key

mysql_pfs_key_t lock_sys_table_mutex_key
extern

◆ lock_wait_mutex_key

mysql_pfs_key_t lock_wait_mutex_key
extern

◆ log_checkpointer_mutex_key

mysql_pfs_key_t log_checkpointer_mutex_key
extern

◆ log_closer_mutex_key

mysql_pfs_key_t log_closer_mutex_key
extern

◆ log_cmdq_mutex_key

mysql_pfs_key_t log_cmdq_mutex_key
extern

◆ log_files_mutex_key

mysql_pfs_key_t log_files_mutex_key
extern

◆ log_flush_notifier_mutex_key

mysql_pfs_key_t log_flush_notifier_mutex_key
extern

◆ log_flusher_mutex_key

mysql_pfs_key_t log_flusher_mutex_key
extern

◆ log_limits_mutex_key

mysql_pfs_key_t log_limits_mutex_key
extern

◆ log_sn_lock_key

mysql_pfs_key_t log_sn_lock_key
extern

◆ log_sn_mutex_key

mysql_pfs_key_t log_sn_mutex_key
extern

◆ log_sys_arch_mutex_key

mysql_pfs_key_t log_sys_arch_mutex_key
extern

◆ log_write_notifier_mutex_key

mysql_pfs_key_t log_write_notifier_mutex_key
extern

◆ log_writer_mutex_key

mysql_pfs_key_t log_writer_mutex_key
extern

◆ master_key_id_mutex_key

mysql_pfs_key_t master_key_id_mutex_key
extern

◆ mutex_list_mutex_key

mysql_pfs_key_t mutex_list_mutex_key
extern

◆ page_cleaner_mutex_key

mysql_pfs_key_t page_cleaner_mutex_key
extern

◆ page_sys_arch_client_mutex_key

mysql_pfs_key_t page_sys_arch_client_mutex_key
extern

◆ page_sys_arch_mutex_key

mysql_pfs_key_t page_sys_arch_mutex_key
extern

◆ page_sys_arch_oper_mutex_key

mysql_pfs_key_t page_sys_arch_oper_mutex_key
extern

◆ page_zip_stat_per_index_mutex_key

mysql_pfs_key_t page_zip_stat_per_index_mutex_key
extern

◆ parallel_read_mutex_key

mysql_pfs_key_t parallel_read_mutex_key
extern

◆ parser_mutex_key

mysql_pfs_key_t parser_mutex_key
extern

◆ PFS_NOT_INSTRUMENTED

mysql_pfs_key_t PFS_NOT_INSTRUMENTED
extern

◆ purge_sys_pq_mutex_key

mysql_pfs_key_t purge_sys_pq_mutex_key
extern

◆ recalc_pool_mutex_key

mysql_pfs_key_t recalc_pool_mutex_key
extern

◆ recv_sys_mutex_key

mysql_pfs_key_t recv_sys_mutex_key
extern

◆ recv_writer_mutex_key

mysql_pfs_key_t recv_writer_mutex_key
extern

◆ row_drop_list_mutex_key

mysql_pfs_key_t row_drop_list_mutex_key
extern

◆ rsegs_lock_key

mysql_pfs_key_t rsegs_lock_key
extern

◆ rtr_active_mutex_key

mysql_pfs_key_t rtr_active_mutex_key
extern

◆ rtr_match_mutex_key

mysql_pfs_key_t rtr_match_mutex_key
extern

◆ rtr_path_mutex_key

mysql_pfs_key_t rtr_path_mutex_key
extern

◆ rtr_ssn_mutex_key

mysql_pfs_key_t rtr_ssn_mutex_key
extern

◆ rw_lock_debug_mutex_key

mysql_pfs_key_t rw_lock_debug_mutex_key
extern

◆ rw_lock_list_mutex_key

mysql_pfs_key_t rw_lock_list_mutex_key
extern

◆ rw_lock_mutex_key

mysql_pfs_key_t rw_lock_mutex_key
extern

◆ srv_innodb_monitor_mutex_key

mysql_pfs_key_t srv_innodb_monitor_mutex_key
extern

◆ srv_misc_tmpfile_mutex_key

mysql_pfs_key_t srv_misc_tmpfile_mutex_key
extern

◆ srv_monitor_file_mutex_key

mysql_pfs_key_t srv_monitor_file_mutex_key
extern

◆ srv_sys_mutex_key

mysql_pfs_key_t srv_sys_mutex_key
extern

◆ srv_threads_mutex_key

mysql_pfs_key_t srv_threads_mutex_key
extern

◆ sync_array_mutex_key

mysql_pfs_key_t sync_array_mutex_key
extern

◆ sync_thread_mutex_key

mysql_pfs_key_t sync_thread_mutex_key
extern

◆ temp_pool_manager_mutex_key

mysql_pfs_key_t temp_pool_manager_mutex_key
extern

◆ temp_space_rseg_mutex_key

mysql_pfs_key_t temp_space_rseg_mutex_key
extern

◆ trx_i_s_cache_lock_key

mysql_pfs_key_t trx_i_s_cache_lock_key
extern

◆ trx_mutex_key

mysql_pfs_key_t trx_mutex_key
extern

◆ trx_pool_manager_mutex_key

mysql_pfs_key_t trx_pool_manager_mutex_key
extern

◆ trx_pool_mutex_key

mysql_pfs_key_t trx_pool_mutex_key
extern

◆ trx_purge_latch_key

mysql_pfs_key_t trx_purge_latch_key
extern

◆ trx_sys_mutex_key

mysql_pfs_key_t trx_sys_mutex_key
extern

◆ trx_sys_rseg_mutex_key

mysql_pfs_key_t trx_sys_rseg_mutex_key
extern

◆ trx_sys_rw_lock_key

mysql_pfs_key_t trx_sys_rw_lock_key
extern

◆ trx_sys_serialisation_mutex_key

mysql_pfs_key_t trx_sys_serialisation_mutex_key
extern

◆ trx_sys_shard_mutex_key

mysql_pfs_key_t trx_sys_shard_mutex_key
extern

◆ trx_undo_mutex_key

mysql_pfs_key_t trx_undo_mutex_key
extern

◆ undo_space_rseg_mutex_key

mysql_pfs_key_t undo_space_rseg_mutex_key
extern

◆ undo_spaces_lock_key

mysql_pfs_key_t undo_spaces_lock_key
extern

◆ zip_pad_mutex_key

mysql_pfs_key_t zip_pad_mutex_key
extern