MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
my_sync.cc File Reference
#include "my_config.h"
#include <fcntl.h>
#include <cerrno>
#include <cstddef>
#include <unistd.h>
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysys_err.h"

Functions

void thr_set_sync_wait_callback (void(*before_wait)(), void(*after_wait)())
 
int my_sync (File fd, myf my_flags)
 

Variables

static void(* before_sync_wait )() = nullptr
 
static void(* after_sync_wait )() = nullptr
 

Function Documentation

◆ thr_set_sync_wait_callback()

void thr_set_sync_wait_callback ( void(*)()  before_wait,
void(*)()  after_wait 
)

Variable Documentation

◆ after_sync_wait

void(* after_sync_wait) () ( ) = nullptr
static

◆ before_sync_wait

void(* before_sync_wait) () ( ) = nullptr
static