/* _Atomic_fetch_or_1 */ _Uint1_t _Fetch_or_seq_cst_1(volatile _Uint1_t *_Tgt, _Uint1_t _Value) { /* or _Value with *_Tgt atomically with sequentially consistent memory order */ _Value = _InterlockedOr8((volatile char *)_Tgt, _Value); return (_Value); }
/* _Atomic_load_1 */ static _Uint1_t _Load_seq_cst_1(volatile _Uint1_t *_Tgt) { /* load from *_Tgt atomically with sequentially consistent memory order */ _Uint1_t _Value; _Value = _InterlockedOr8((volatile char *)_Tgt, 0); return (_Value); }
char test_InterlockedOr8(char volatile *value, char mask) { return _InterlockedOr8(value, mask); }
Int8 KInterlockedOr8(Int8 volatile* var, Int8 add) { return _InterlockedOr8((volatile char*)var, add); }