1
0
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:
Marc Bonnici 2017-01-31 10:39:08 +00:00
parent 1364ec05e8
commit e7a47f602d
3 changed files with 1 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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);