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

Function lock_prof_reset_wait

freebsd/kern/subr_lock.c:324–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322SYSINIT(lockprof, SI_SUB_SMP, SI_ORDER_ANY, lock_prof_init, NULL);
323
324static void
325lock_prof_reset_wait(void)
326{
327
328 /*
329 * Spin relinquishing our cpu so that quiesce_all_cpus may
330 * complete.
331 */
332 while (lock_prof_resetting)
333 sched_relinquish(curthread);
334}
335
336static void
337lock_prof_reset(void)

Callers 1

lock_profile_thread_exitFunction · 0.85

Calls 1

sched_relinquishFunction · 0.70

Tested by

no test coverage detected