MySQL 8.0.39
Source Code Documentation
gcs_tagged_lock.cc File Reference

Functions

static Gcs_tagged_lock::Tag get_tag (std::uint64_t const &lock_word)
 
static bool is_locked_internal (std::uint64_t const &lock_word)
 
static bool same_tag (std::uint64_t const &lock_word, Gcs_tagged_lock::Tag tag)
 
static void set_lock_bit (std::uint64_t &lock_word)
 
static bool try_lock_internal (std::atomic< std::uint64_t > &lock_word, std::uint64_t const &locked_tag)
 

Function Documentation

◆ get_tag()

static Gcs_tagged_lock::Tag get_tag ( std::uint64_t const &  lock_word)
static

◆ is_locked_internal()

static bool is_locked_internal ( std::uint64_t const &  lock_word)
static

◆ same_tag()

static bool same_tag ( std::uint64_t const &  lock_word,
Gcs_tagged_lock::Tag  tag 
)
static

◆ set_lock_bit()

static void set_lock_bit ( std::uint64_t &  lock_word)
static

◆ try_lock_internal()

static bool try_lock_internal ( std::atomic< std::uint64_t > &  lock_word,
std::uint64_t const &  locked_tag 
)
static