Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/disktest/
Dsignals.c47 HANDLE sig_mutex; variable
49 pthread_mutex_t sig_mutex = PTHREAD_MUTEX_INITIALIZER; variable
78 LOCK(sig_mutex); in sig_handler()
81 UNLOCK(sig_mutex); in sig_handler()
85 LOCK(sig_mutex); in sig_handler()
88 UNLOCK(sig_mutex); in sig_handler()
92 LOCK(sig_mutex); in sig_handler()
95 UNLOCK(sig_mutex); in sig_handler()
99 LOCK(sig_mutex); in sig_handler()
102 UNLOCK(sig_mutex); in sig_handler()
[all …]
/external/ltp/testcases/misc/math/float/
Dmain.c68 pthread_mutex_t sig_mutex; variable
196 retval = pthread_mutex_init(&sig_mutex, NULL); in main()
248 pthread_mutex_lock(&sig_mutex); in main()
251 pthread_mutex_unlock(&sig_mutex); in main()
259 pthread_mutex_unlock(&sig_mutex); in main()
363 retvalsig = pthread_mutex_lock(&sig_mutex); in handle_signals()
370 retvalsig = pthread_mutex_unlock(&sig_mutex); in handle_signals()