Searched refs:CHECK_CALL (Results 1 – 1 of 1) sorted by relevance
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | halt_on_error-signals.c | 36 #define CHECK_CALL(e, msg) do { \ macro 52 CHECK_CALL(pthread_kill(receiver_tid, SIGUSR1), "send signal"); in sender() 70 CHECK_CALL(pthread_mutex_lock(&keep_alive_mu), "unlock mutex"); in receiver() 86 CHECK_CALL(sigaction(SIGUSR1, &sa, 0), "set sighandler"); in main() 90 CHECK_CALL(pthread_mutex_lock(&keep_alive_mu), "lock mutex"); in main() 91 CHECK_CALL(pthread_create(&receiver_tid, 0, receiver, 0), "start thread"); in main() 92 CHECK_CALL(pthread_create(&sender_tid, 0, sender, 0), "start thread"); in main() 93 CHECK_CALL(pthread_join(sender_tid, 0), "join thread"); in main() 95 CHECK_CALL(pthread_mutex_unlock(&keep_alive_mu), "unlock mutex"); in main() 96 CHECK_CALL(pthread_join(receiver_tid, 0), "join thread"); in main()
|