MySQL 8.4.0
Source Code Documentation
os0proc.cc File Reference

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

#include "my_config.h"
#include <errno.h>
#include <stddef.h>
#include <sys/types.h>
#include "ha_prototypes.h"
#include "os0proc.h"
#include "srv0srv.h"
#include "ut0byte.h"
#include "ut0mem.h"

Functions

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

Variables

std::atomic< ulintos_total_large_mem_allocated {0}
 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

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

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 {0}

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

Whether to use large pages in the buffer pool.