Searched refs:reaplock (Results 1 – 3 of 3) sorted by relevance
91 kmutex_t reaplock; /* protects lwp and thread deathrows */ variable175 mutex_init(&reaplock, NULL, MUTEX_SPIN, (void *)ipltospl(DISP_LEVEL)); in thread_init()824 ASSERT(MUTEX_HELD(&reaplock)); in thread_zone_cleanup()857 mutex_enter(&reaplock); in thread_zone_destroy()863 mutex_exit(&reaplock); in thread_zone_destroy()905 CALLB_CPR_INIT(&cprinfo, &reaplock, callb_generic_cpr, "t_reaper"); in thread_reaper()907 mutex_enter(&reaplock); in thread_reaper()910 cv_wait(&reaper_cv, &reaplock); in thread_reaper()911 CALLB_CPR_SAFE_END(&cprinfo, &reaplock); in thread_reaper()925 mutex_exit(&reaplock); in thread_reaper()[all …]
207 extern kmutex_t reaplock;
178 mutex_enter(&reaplock); in lwp_create()191 mutex_exit(&reaplock); in lwp_create()