Issue a barrier on other running threads.
#include <zircon/syscalls-next.h> zx_status_t zx_system_barrier(uint32_t options);
Issues a barrier of the requested type on all running threads.
This issues a data memory barrier on all running threads.
This issues a memory barrier and serializes the instruction stream on all running threads.
This operation does not require any rights.
ZX_OK if the requested barriers were issued.
ZX_ERR_INVALID_ARGS options contains invalid options.