Searched refs:reaplock (Results 1 – 3 of 3) sorted by relevance
93 kmutex_t reaplock; /* protects lwp and thread deathrows */ variable177 mutex_init(&reaplock, NULL, MUTEX_SPIN, (void *)ipltospl(DISP_LEVEL)); in thread_init()814 ASSERT(MUTEX_HELD(&reaplock)); in thread_zone_cleanup()847 mutex_enter(&reaplock); in thread_zone_destroy()853 mutex_exit(&reaplock); in thread_zone_destroy()895 CALLB_CPR_INIT(&cprinfo, &reaplock, callb_generic_cpr, "t_reaper"); in thread_reaper()897 mutex_enter(&reaplock); in thread_reaper()900 cv_wait(&reaper_cv, &reaplock); in thread_reaper()901 CALLB_CPR_SAFE_END(&cprinfo, &reaplock); in thread_reaper()915 mutex_exit(&reaplock); in thread_reaper()[all …]
207 extern kmutex_t reaplock;
177 mutex_enter(&reaplock); in lwp_create()190 mutex_exit(&reaplock); in lwp_create()