MySQL 8.4.2
Source Code Documentation
mysql_cond_v1_native.cc File Reference
#include <stdio.h>
#include <chrono>
#include <condition_variable>
#include <ctime>
#include <mutex>
#include "mysql/components/component_implementation.h"
#include "mysql/components/service_implementation.h"
#include "mysql/components/services/mysql_cond.h"

Namespaces

namespace  mysql_cond_v1_native
 

Typedefs

using mysql_cond_v1_native::mock_clock = std::chrono::system_clock
 

Functions

static void mysql_cond_v1_native::_register (const char *, PSI_cond_info *, int)
 
static int mysql_cond_v1_native::init (PSI_cond_key, mysql_cond_t *that, const char *, unsigned int)
 
static int mysql_cond_v1_native::destroy (mysql_cond_t *that, const char *, unsigned int)
 
static int mysql_cond_v1_native::wait (mysql_cond_t *that, mysql_mutex_t *mutex_arg, const char *, unsigned int)
 
static int mysql_cond_v1_native::timedwait (mysql_cond_t *that, mysql_mutex_t *mutex_arg, const struct timespec *abstime, const char *, unsigned int)
 
static int mysql_cond_v1_native::signal (mysql_cond_t *that, const char *, unsigned int)
 
static int mysql_cond_v1_native::broadcast (mysql_cond_t *that, const char *, unsigned int)
 

Variables

const mysql_service_mysql_cond_v1_t imp_HARNESS_COMPONENT_NAME_mysql_cond_v1
 

Variable Documentation

◆ imp_HARNESS_COMPONENT_NAME_mysql_cond_v1

const mysql_service_mysql_cond_v1_t imp_HARNESS_COMPONENT_NAME_mysql_cond_v1
Initial value:
= {
static int destroy(mysql_cond_t *that, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:54
static void _register(const char *, PSI_cond_info *, int)
Definition: mysql_cond_v1_native.cc:44
static int broadcast(mysql_cond_t *that, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:98
static int signal(mysql_cond_t *that, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:90
static int init(PSI_cond_key, mysql_cond_t *that, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:47
static int timedwait(mysql_cond_t *that, mysql_mutex_t *mutex_arg, const struct timespec *abstime, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:74
static int wait(mysql_cond_t *that, mysql_mutex_t *mutex_arg, const char *, unsigned int)
Definition: mysql_cond_v1_native.cc:63