MySQL 8.0.29
Source Code Documentation
my_lock.cc File Reference
#include "my_config.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/types.h>
#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"
#include "storage/myisam/myisam_sys.h"
#include <signal.h>

Typedefs

typedef void(* sig_return) (int)
 

Functions

static void my_set_alarm_variable (int signo)
 
int my_lock (File fd, int locktype, myf MyFlags)
 

Variables

static int volatile my_have_got_alarm = 0
 
static uint my_time_to_wait_for_lock = 2
 

Typedef Documentation

◆ sig_return

typedef void(* sig_return) (int)

Function Documentation

◆ my_lock()

int my_lock ( File  fd,
int  locktype,
myf  MyFlags 
)

◆ my_set_alarm_variable()

static void my_set_alarm_variable ( int  signo)
static

Variable Documentation

◆ my_have_got_alarm

int volatile my_have_got_alarm = 0
static

◆ my_time_to_wait_for_lock

uint my_time_to_wait_for_lock = 2
static