Home
last modified time | relevance | path

Searched refs:Etm_mod_lock (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c98 #define INCRSTAT(x) { (void) pthread_mutex_lock(&Etm_mod_lock); \
100 (void) pthread_mutex_unlock(&Etm_mod_lock); \
103 #define DECRSTAT(x) { (void) pthread_mutex_lock(&Etm_mod_lock); \
105 (void) pthread_mutex_unlock(&Etm_mod_lock); \
108 #define ADDSTAT(x, y) { (void) pthread_mutex_lock(&Etm_mod_lock); \
110 (void) pthread_mutex_unlock(&Etm_mod_lock); \
116 static pthread_mutex_t Etm_mod_lock = PTHREAD_MUTEX_INITIALIZER; variable
319 (void) pthread_mutex_lock(&Etm_mod_lock); in etm_post_msg()
321 (void) pthread_mutex_unlock(&Etm_mod_lock); in etm_post_msg()
344 (void) pthread_mutex_unlock(&Etm_mod_lock); in etm_post_msg()
[all …]