stanford-ppl/Green-Marl — pull request #113 by honkdamonk (2012-12-11 10:43:52+00:00)
Title: Fix bug in ATOMIC_AND and ATOMIC_OR

this should work too right?

void ATOMIC_AND(bool* target, bool value) {
if (!value) *target = false;
}

void ATOMIC_OR(bool* target, bool value) {
if (value) *target = true;
}