|
HikoGUI
A low latency retained GUI
|
Functions and macros for handling architectural difference between compilers, CPUs and operating systems. More...
#include <exception>#include <cstddef>#include <type_traits>Go to the source code of this file.
Typedefs | |
| using | v1::intreg_t = int32_t |
| using | v1::uintreg_t = uint32_t |
| using | v1::os_handle = void * |
| Minimum offset between two objects to avoid false sharing. | |
| using | v1::file_handle = os_handle |
Variables | |
| constexpr std::size_t | v1::hardware_destructive_interference_size = 128 |
| constexpr std::size_t | v1::hardware_constructive_interference_size = 64 |
Functions and macros for handling architectural difference between compilers, CPUs and operating systems.
| using v1::os_handle = void * |
Minimum offset between two objects to avoid false sharing.
Guaranteed to be at least alignof(std::max_align_t) Part of c++17 but never implemented by clang or gcc. Maximum size of contiguous memory to promote true sharing. Guaranteed to be at least alignof(std::max_align_t) Part of c++17 but never implemented by clang or gcc.