Home | History | Annotate | Download | only in unit

Lines Matching defs:epoch

10 static atomic_u_t	epoch;
38 uint64_t epoch = 1;
39 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
40 sizeof(epoch)), 0, "Unexpected mallctl() failure");
72 /* Busy-wait for next epoch. */
75 while ((cur_epoch = atomic_load_u(&epoch, ATOMIC_ACQUIRE)) !=
79 assert_u_eq(cur_epoch, next_epoch, "Unexpected epoch");
107 atomic_store_u(&epoch, 0, ATOMIC_RELAXED);
117 atomic_store_u(&epoch, e, ATOMIC_RELEASE);