Home
last modified time | relevance | path

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

/drivers/peripheral/usb/sample/device/liteos/
Dacm_speed_read.c57 static sigset_t g_mask; variable
105 int32_t err = sigwait(&g_mask, &signo); in StopHandler()
126 sigemptyset(&g_mask); in StartStopHandler()
127 sigaddset(&g_mask, SIGINT); in StartStopHandler()
128 sigaddset(&g_mask, SIGQUIT); in StartStopHandler()
129 if (pthread_sigmask(SIG_BLOCK, &g_mask, NULL) != 0) { in StartStopHandler()
Dacm_speed_write.c55 static sigset_t g_mask; variable
106 int32_t err = sigwait(&g_mask, &signo); in StopHandler()
127 sigemptyset(&g_mask); in StartStopHandler()
128 sigaddset(&g_mask, SIGINT); in StartStopHandler()
129 sigaddset(&g_mask, SIGQUIT); in StartStopHandler()
130 if ((pthread_sigmask(SIG_BLOCK, &g_mask, NULL)) != 0) { in StartStopHandler()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_speed_test.c60 static sigset_t g_mask; variable
153 int32_t err = sigwait(&g_mask, &signo); in StopHandler()
262 sigemptyset(&g_mask); in main()
263 sigaddset(&g_mask, SIGINT); in main()
264 sigaddset(&g_mask, SIGQUIT); in main()
265 if (pthread_sigmask(SIG_BLOCK, &g_mask, NULL) != 0) { in main()