+ fprintf(stderr, "[%s] > Notified!\n", "process3");
+ struct queue_message msg;
+ /* Check queues from both other processes */
+ if (msgrcv(qid, &msg, sizeof(int), 3, 0) > 0) {
+ fprintf(stderr, "[%s] > Notified with value: %s!\n", "process3", strsignal(msg.signo[0]));
+ raise(msg.signo[0]);
+ }
+ else if (msgrcv(qid, &msg, sizeof(int), 3, 0) > 0) {
+ fprintf(stderr, "[%s] > Notified with value: %s!\n", "process3", strsignal(msg.signo[0]));
+ raise(msg.signo[0]);
+ }