kphp
kphp copied to clipboard
Add cacheline-alignment to compiler/threading and switch from volatile to std::atomic
Refactor compiler/threading:
- Switch to
std::atomicinstead ofvolatile - Use
alignasto cache-align shared structs - Use proper memory orderings instead of default seq_cst