MySQL 8.4.4
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
lock0iter.h File Reference

Lock queue iterator type and function prototypes. More...

#include "dict0types.h"
#include "lock0types.h"
#include "univ.i"

Go to the source code of this file.

Classes

class  All_locks_iterator
 Iterates over all locks in the lock sys in a manner which guarantees that all locks from the same lock queue are processed in a single critical section. More...
 

Namespaces

namespace  locksys
 

Functions

const lock_tlocksys::find_blockers (const lock_t &wait_lock, std::function< bool(const lock_t &)> visitor)
 Calls visitor for each lock_t object which is a reason that wait_lock has to wait. More...
 
void locksys::find_on_table (const table_id_t table_id, std::function< bool(const lock_t &)> visitor)
 A helper method to access dict_table_t::locks list in a way which is safe against the case another thread is trying to drop or truncate the table. More...
 

Detailed Description

Lock queue iterator type and function prototypes.

Created July 16, 2007 Vasil Dimov