FreeBSD/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c
/*
 * Activates the asynchronous cleanup mechanism.
 */
Activates the asynchronous cleanup mechanism.
Activates the asynchronous cleanup mechanism .
static void
fasttrap_pid_cleanup(void)
{
	mtx_lock(&fasttrap_cleanup_mtx);
	if (!fasttrap_cleanup_work) {
		fasttrap_cleanup_work = 1;
		wakeup(&fasttrap_cleanup_cv);
	}
	mtx_unlock(&fasttrap_cleanup_mtx);
}
static void fasttrap_pid_cleanup ( void ) { mtx_lock ( & fasttrap_cleanup_mtx ) ; if ( ! fasttrap_cleanup_work ) { fasttrap_cleanup_work = 1 ; wakeup ( & fasttrap_cleanup_cv ) ; } mtx_unlock ( & fasttrap_cleanup_mtx ) ; }
Activates the asynchronous cleanup mechanism.
Activates the asynchronous cleanup mechanism .