MySQL 8.0.30
Source Code Documentation
os0proc.h File Reference

The interface to the operating system process control primitives. More...

#include "univ.i"

Go to the source code of this file.

Typedefs

typedef void * os_process_t
 
typedef unsigned long int os_process_id_t
 

Functions

ulint os_proc_get_number (void)
 Converts the current process id to a number. More...
 

Variables

std::atomic< ulintos_total_large_mem_allocated
 The total amount of memory currently allocated from the operating system with os_mem_alloc_large(). More...
 
bool os_use_large_pages
 Whether to use large pages in the buffer pool. More...
 
uint os_large_page_size
 Large page size. More...
 

Detailed Description

The interface to the operating system process control primitives.

Created 9/30/1995 Heikki Tuuri

Typedef Documentation

◆ os_process_id_t

typedef unsigned long int os_process_id_t

◆ os_process_t

typedef void* os_process_t

Function Documentation

◆ os_proc_get_number()

ulint os_proc_get_number ( void  )

Converts the current process id to a number.

Returns
process id as a number

Variable Documentation

◆ os_large_page_size

uint os_large_page_size
extern

Large page size.

This may be a boot-time option on some platforms

◆ os_total_large_mem_allocated

std::atomic<ulint> os_total_large_mem_allocated
extern

The total amount of memory currently allocated from the operating system with os_mem_alloc_large().

◆ os_use_large_pages

bool os_use_large_pages
extern

Whether to use large pages in the buffer pool.