ck_epoch: Use volatile store when updating local epoch.

ck_pring
Samy Al Bahra 14 years ago
parent 7bd5259505
commit 8c708da8e8

@ -205,7 +205,7 @@ ck_epoch_start(struct ck_epoch_record *record)
ck_stack_init(&record->pending[epoch]);
record->epoch = g_epoch;
ck_pr_store_uint(&record->epoch, g_epoch);
record->delta = 0;
break;
}

Loading…
Cancel
Save