Пример #1
0
uint32_t __sync_fetch_and_or_4(uint32_t *ptr, uint32_t value, ...)
{
    return OSAtomicOr32OrigBarrier(value, ptr);
}
Пример #2
0
int32_t OSAtomicOr32Barrier(uint32_t value,volatile uint32_t* target) {
    return OSAtomicOr32OrigBarrier(value,target) | value;
}