MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / atomic8_fetch_or

Function atomic8_fetch_or

core/atomics.h:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 return result;
29}
30static inline uint8_t atomic8_fetch_or(volatile uint8_t *obj, uint8_t arg) {
31 uint8_t result = *obj;
32 *obj = result | arg;
33 return result;
34}
35static inline uint32_t atomic32_fetch_or(volatile uint32_t *obj, uint32_t arg) {
36 uint32_t result = *obj;
37 *obj = result | arg;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected