# SHZ_MEMORY_BARRIER_HARD

Source: https://sh4zam.com/api/cdefs/SHZ_MEMORY_BARRIER_HARD/

```c
#define SHZ_MEMORY_BARRIER_HARD() __sync_synchronize()
```

Creates a hardware memory barrier beyond which any loads or stores may not be reordered

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_cdefs.h:193`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_cdefs.h#L193)
- **Module:** [Compiler Definitions](https://sh4zam.com/api/cdefs/), section "Not in upstream reference"
