mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01: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:
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);
|
||||
|
||||
|
Reference in New Issue
Block a user