X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fprocess2.c;h=d498f1c8300de57ab9eefc5caf00629f09e4af0e;hb=36fddb02ae4b75d5671cb859be2706e640311737;hp=861919ce8b45b606fc11579ace0f6de0de3030e3;hpb=963f77561737c9098d160a4b1d308c71ab0fdef8;p=wsti_so.git diff --git a/src/process2.c b/src/process2.c index 861919c..d498f1c 100644 --- a/src/process2.c +++ b/src/process2.c @@ -94,10 +94,6 @@ void sig_handler(int signo) fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0])); raise(msg.signo[0]); } - else if (msgrcv(qid, &msg, sizeof(int), 2, 0) > 0) { - fprintf(stderr, "[%s] > Notified with value: %s!\n", "process2", strsignal(msg.signo[0])); - raise(msg.signo[0]); - } } else if (signo == SIGTERM) { fprintf(stderr, "[%s] > Signalling other processes..\n", "process2");