else if (signo == SIGTSTP) {
fprintf(stderr, "[%s] > Closing pipe\n", "process1");
close(write_pipe);
+ raise (SIGSTOP);
}
else if (signo == SIGCONT) {
fprintf(stderr, "[%s] > Opening pipe\n", "process1");
fprintf(stderr, "[%s] > Closing pipes\n", "process2");
close(read_descriptor);
close(write_descriptor);
+ raise (SIGSTOP);
}
else if (signo == SIGCONT) {
fprintf(stderr, "[%s] > Opening pipes\n", "process2");
else if (signo == SIGTSTP) {
fprintf(stderr, "[%s] > Closing pipe\n", "process3");
close(read_descriptor);
+ raise (SIGSTOP);
}
else if (signo == SIGCONT) {
fprintf(stderr, "[%s] > Opening pipe\n", "process3");