Lines Matching refs:tsmm_mutex
62 static MUTEX_T tsmm_mutex; /* thread-safe memory manager mutex */ variable
152 tsmm_mutex = tsrm_mutex_alloc(); in tsrm_startup()
216 tsrm_mutex_free(tsmm_mutex); in tsrm_shutdown()
285 tsrm_mutex_lock(tsmm_mutex); in ts_allocate_id()
298 tsrm_mutex_unlock(tsmm_mutex); in ts_allocate_id()
311 tsrm_mutex_unlock(tsmm_mutex); in ts_allocate_id()
331 tsrm_mutex_lock(tsmm_mutex); in ts_allocate_fast_id()
342 tsrm_mutex_unlock(tsmm_mutex); in ts_allocate_fast_id()
356 tsrm_mutex_unlock(tsmm_mutex); in ts_allocate_fast_id()
369 tsrm_mutex_unlock(tsmm_mutex); in ts_allocate_fast_id()
451 tsrm_mutex_lock(tsmm_mutex); in ts_resource_ex()
458 tsrm_mutex_unlock(tsmm_mutex); in ts_resource_ex()
468 tsrm_mutex_unlock(tsmm_mutex); in ts_resource_ex()
505 tsrm_mutex_unlock(tsmm_mutex); in ts_resource_ex()
525 tsrm_mutex_lock(tsmm_mutex); in ts_free_thread()
546 tsrm_mutex_unlock(tsmm_mutex); in ts_free_thread()
555 tsrm_mutex_lock(tsmm_mutex); in ts_free_id()
581 tsrm_mutex_unlock(tsmm_mutex); in ts_free_id()