diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-10-17 10:57:38 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-10-17 10:57:38 +0200 |
| commit | bb146866c04bc942242a53d110716f161519a721 (patch) | |
| tree | 183ecb8c9c22f709b8db1cc6ffa10118ce1f81fd /executor/executor_linux.cc | |
| parent | a8a0b01a8bc49b2088d33c529198d4780f66b94a (diff) | |
executor: improvements for akaros
1. remove workaround for pthread attrs (was fixed in akaros)
2. remove workaround for dup2 (was fixed in akaros)
3. check that we receive a program
4. implement timeout for test processes
Diffstat (limited to 'executor/executor_linux.cc')
| -rw-r--r-- | executor/executor_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor_linux.cc b/executor/executor_linux.cc index 72bd91aa8..d49e7e22b 100644 --- a/executor/executor_linux.cc +++ b/executor/executor_linux.cc @@ -138,7 +138,7 @@ void loop() // TODO: consider moving the read into the child. // Potentially it can speed up things a bit -- when the read finishes // we already have a forked worker process. - receive_execute(); + receive_execute(false); int pid = fork(); if (pid < 0) fail("clone failed"); |
