Home
last modified time | relevance | path

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

/bionic/tests/
Dsignal_test.cpp926 auto signal_handler = [](int) { signal_handler_call_count++; }; in TEST() local
927 ScopedSignalHandler ssh{SIGRTMIN, signal_handler}; in TEST()
930 ASSERT_EQ(signal_handler, sigset(SIGRTMIN, SIG_HOLD)); in TEST()
937 ASSERT_EQ(SIG_HOLD, sigset(SIGRTMIN, signal_handler)); in TEST()
938 ASSERT_EQ(signal_handler, sigset(SIGRTMIN, signal_handler)); in TEST()
946 auto signal_handler = [](int) { signal_handler_call_count++; }; in TEST() local
947 ScopedSignalHandler ssh{SIGALRM, signal_handler}; in TEST()
961 ASSERT_EQ(SIG_HOLD, sigset(SIGALRM, signal_handler)); in TEST()
965 ASSERT_EQ(signal_handler, sigset(SIGALRM, SIG_IGN)); in TEST()