kphp icon indicating copy to clipboard operation
kphp copied to clipboard

Add cacheline-alignment to compiler/threading and switch from volatile to std::atomic

Open blonded04 opened this issue 1 year ago • 0 comments

Refactor compiler/threading:

  • Switch to std::atomic instead of volatile
  • Use alignas to cache-align shared structs
  • Use proper memory orderings instead of default seq_cst

blonded04 avatar May 21 '24 21:05 blonded04