AntiPattern
Execution Semantics Mismatch
execution-semantics-mismatch
Code paths are written with incorrect assumptions about what will actually run, be visible, or be evaluated—so compilers/engines or memory-order rules make the program skip execution, break safety guarantees, or prevent optimizations from behaving as intended.