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

Function epoch_exit

freebsd/kern/subr_epoch.c:520–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520void
521epoch_exit(epoch_t epoch)
522{
523 epoch_record_t er;
524
525 INIT_CHECK(epoch);
526 er = epoch_currecord(epoch);
527 ck_epoch_end(&er->er_record, NULL);
528#ifdef INVARIANTS
529 MPASS(er->er_td == curthread);
530 if (er->er_record.active == 0)
531 er->er_td = NULL;
532#endif
533 critical_exit();
534}
535
536/*
537 * epoch_block_handler_preempt() is a callback from the CK code when another

Callers 1

epoch_call_taskFunction · 0.85

Calls 3

epoch_currecordFunction · 0.85
ck_epoch_endFunction · 0.85
critical_exitFunction · 0.50

Tested by

no test coverage detected