Skip to content

MTY_Atomic64Set

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Set a 64-bit integer atomically.

All atomic operations in libmatoya create a full memory barrier.

void MTY_Atomic64Set(
    MTY_Atomic64 * atomic,
    int64_t        value
);

Parameters

atomic (MTY_Atomic64 *)

An MTY_Atomic64.

value (int64_t)

Value to atomically set.

Platform support

Windows   macOS   Android   Linux  

See also

Module: Thread

Clone this wiki locally