From bb146866c04bc942242a53d110716f161519a721 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 17 Oct 2017 10:57:38 +0200 Subject: 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 --- executor/executor_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/executor_linux.cc') 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"); -- cgit mrf-deployment