![]() |
MySQL 8.0.43
Source Code Documentation
|
The interface to the operating system thread control primitives. More...
#include "univ.i"#include <atomic>#include <ios>#include <sstream>#include <thread>#include "ut0ut.h"Functions | |
| std::string | to_string (std::thread::id thread_id, bool hex_value) |
| Returns the string representation of the thread ID supplied. More... | |
Variables | |
| uint32_t | srv_max_n_threads = 0 |
| We are prepared for a situation that we have this many threads waiting for a semaphore inside InnoDB. More... | |
| std::atomic_int | os_thread_count |
| Number of threads active. More... | |
The interface to the operating system thread control primitives.
Created 9/8/1995 Heikki Tuuri
| std::string to_string | ( | std::thread::id | thread_id, |
| bool | hex_value = false |
||
| ) |
Returns the string representation of the thread ID supplied.
It uses the only standard-compliant way of printing the thread ID.
| thread_id | The thread ID to convert to string. |
| hex_value | If true, the conversion will be asked to output in hexadecimal format. The support for it is OS-implementation-dependent and may be ignored. |
| std::atomic_int os_thread_count |
Number of threads active.
| uint32_t srv_max_n_threads = 0 |
We are prepared for a situation that we have this many threads waiting for a semaphore inside InnoDB.
Maximum number of threads inside InnoDB.
innodb_init_params() sets the value.