Changes

Jump to: navigation, search

Atomic Operation

3 bytes added, 11:18, 20 January 2014
no edit summary
if (lock == 0) {
lock++;
/* Perform exclusive action */
lock--;
} else {
abort();
}

Navigation menu