Add --cancel flag to parse command to allow command-line testing

This commit is contained in:
Max Brunsfeld 2019-03-21 10:56:32 -07:00
parent 3340168097
commit 2fd9ffa8e5
3 changed files with 28 additions and 5 deletions

View file

@ -22,7 +22,7 @@ static inline uint32_t atomic_dec(volatile uint32_t *p) {
#else
static inline uint32_t atomic_load(const volatile uint32_t *p) {
return __atomic_load_n(p, __ATOMIC_SEQ_CST);
return __atomic_load_n(p, __ATOMIC_RELAXED);
}
static inline uint32_t atomic_inc(volatile uint32_t *p) {