Oracle® Solaris 11.2 Dynamic Tracing Guide

Exit Print View

Updated: July 2014
 
 

mutex_type_adaptive

int mutex_type_adaptive(kmutex_t *mutex)

mutex_type_adaptive returns non-zero if the specified kernel mutex is of type MUTEX_ADAPTIVE, or zero if it is not. Mutexes are adaptive if they meet one or more of the following conditions:

  • The mutex is declared statically

  • The mutex is created with an interrupt block cookie of NULL

  • The mutex is created with an interrupt block cookie that does not correspond to a high-level interrupt

See mutex_init(9F) for more details on mutexes. The majority of mutexes in the Oracle Solaris kernel are adaptive.