mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
Revent: Removed check for 'wait_for_stdin'.
Revent is terminated from WA via a 'SIGINT', therefore this means that in order for revent to receive the signal and deal with it accordingly, revent always needs to be listening on STDIN regardless of the 'wait_for_stdin' flag.
This commit is contained in:
parent
1364ec05e8
commit
e7a47f602d
Binary file not shown.
Binary file not shown.
3
wlauto/external/revent/revent.c
vendored
3
wlauto/external/revent/revent.c
vendored
@ -1099,8 +1099,7 @@ void record(const char *filepath, int delay, recording_mode_t mode)
|
||||
while(1)
|
||||
{
|
||||
FD_ZERO(&readfds);
|
||||
if (wait_for_stdin)
|
||||
FD_SET(STDIN_FILENO, &readfds);
|
||||
FD_SET(STDIN_FILENO, &readfds);
|
||||
for (i=0; i < devices.num; i++)
|
||||
FD_SET(devices.fds[i], &readfds);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user