Ejemplo n.º 1
0
	/* _Atomic_fetch_and_1 */
_Uint1_t _Fetch_and_seq_cst_1(volatile _Uint1_t *_Tgt, _Uint1_t _Value)
	{	/* and _Value with *_Tgt atomically with
			sequentially consistent memory order */
	_Value = _InterlockedAnd8((volatile char *)_Tgt, _Value);

	return (_Value);
	}
Ejemplo n.º 2
0
char test_InterlockedAnd8(char volatile *value, char mask) {
  return _InterlockedAnd8(value, mask);
}
Ejemplo n.º 3
0
Int8 KInterlockedAnd8(Int8 volatile* var, Int8 add)
{
    return _InterlockedAnd8((volatile char*)var, add);
}