Searched refs:alarm_flag (Results 1 - 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill02.c | 181 int alarm_flag = FALSE; /*This flag indicates an alarm time out. */ variable 313 while ((read(pipe1_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout() 318 while ((read(pipe2_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout() 326 if (alarm_flag == TRUE) { in parent_rout() 434 while ((read(pipe1_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout() 539 while ((read(pipeA_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in child1_rout() 543 while ((read(pipeB_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in child1_rout() 550 if (alarm_flag == TRUE) { in child1_rout() 802 alarm_flag = TRUE; in notify_timeout()
|
/third_party/alsa-utils/alsactl/ |
H A D | lock.c | 38 static int alarm_flag; variable 42 alarm_flag = 1; in signal_handler_alarm() 109 alarm_flag = 0; in state_lock_() 124 while (alarm_flag == 0) { in state_lock_() 133 if (alarm_flag) { in state_lock_()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl16.c | 269 static int alarm_flag = 0; variable 353 alarm_flag = 1; in catch_alarm() 493 alarm_flag = parent_flag = 0; in run_test() 530 while (!alarm_flag in run_test() 545 child_flag1 = child_flag2 = alarm_flag = 0; in run_test() 581 alarm_flag = nexited = 0; in run_test() 588 if (errno != EINTR || alarm_flag != 1) { in run_test()
|
Completed in 3 milliseconds