MCPcopy Create free account
hub / github.com/F-Stack/f-stack / epoch_wait

Function epoch_wait

freebsd/kern/subr_epoch.c:741–751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741void
742epoch_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
753void
754epoch_call(epoch_t epoch, epoch_callback_t callback, epoch_context_t ctx)

Callers 1

epoch_freeFunction · 0.85

Calls 3

critical_enterFunction · 0.50
critical_exitFunction · 0.50

Tested by

no test coverage detected