From a4593d011a5e1233f78819cce7c777db1019c85c Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sun, 13 Aug 2017 15:25:54 -0700 Subject: [PATCH] Revert "Added important comment about blocked_pid" This reverts commit 16d2f4faff4d06c26a162c50fb47fc2f1f0f73e0. It was meant for the major branch. --- src/exec.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/exec.cpp b/src/exec.cpp index 1251e5ed0..97669ba6f 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -496,8 +496,6 @@ void exec_job(parser_t &parser, job_t *j) { // We are careful to set these to -1 when closed, so if we exit the loop abruptly, we can still // close them. bool pgrp_set = false; - //this is static since processes can block on input/output across jobs - //the main exec_job loop is only ever run in a single thread, so this is OK static pid_t blocked_pid = -1; int pipe_current_read = -1, pipe_current_write = -1, pipe_next_read = -1; for (std::unique_ptr &unique_p : j->processes) {