| 739 | } |
| 740 | |
| 741 | void |
| 742 | epoch_wait(epoch_t epoch) |
| 743 | { |
| 744 | |
| 745 | MPASS(cold || epoch != NULL); |
| 746 | INIT_CHECK(epoch); |
| 747 | MPASS(epoch->e_flags == 0); |
| 748 | critical_enter(); |
| 749 | ck_epoch_synchronize_wait(&epoch->e_epoch, epoch_block_handler, NULL); |
| 750 | critical_exit(); |
| 751 | } |
| 752 | |
| 753 | void |
| 754 | epoch_call(epoch_t epoch, epoch_callback_t callback, epoch_context_t ctx) |
no test coverage detected