Solaris 动态跟踪指南

mutex_owner()

kthread_t *mutex_owner(kmutex_t *mutex)

mutex_owner() 返回所指定自适应内核互斥的当前属主的线程指针。如果当前不拥有指定的自适应互斥,或者指定的互斥为自旋互斥,则 mutex_owner() 将返回 NULL。请参见 mutex_owned(9F)