From d5af9583b6ee71955a253db7cc5dd366392fa94a Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Tue, 3 Nov 2020 08:13:13 -0600 Subject: queue --- csci4061/102620_breakout/msg_queue_template.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/csci4061/102620_breakout/msg_queue_template.c b/csci4061/102620_breakout/msg_queue_template.c index 676291e..af026f3 100644 --- a/csci4061/102620_breakout/msg_queue_template.c +++ b/csci4061/102620_breakout/msg_queue_template.c @@ -1,15 +1,16 @@ /* -* Recitation Section Number: -* Breakout Number: -* Member Name (X500) -* Member Name (X500) -* Member Name (X500) -* Member Name (X500) +* Recitation Section Number: 02 +* Breakout Number: 05 +* Graden Hill (hill1582) +* Gustav Baumgart (baumg260) +* Matt Strapp (strap012) +* Skylan Recnana (recan001) */ #include #include #include +#include #include #include #include @@ -84,7 +85,7 @@ int main(void) { for (int j = 0; j < NCHILD; j++) { if ((pid2 = fork()) == 0) { // receive message - msgrcv(msgid, &msg, MSGSIZE, +222, 0); + msgrcv(msgid, &msg, MSGSIZE, 222, 0); // display the message -- cgit v1.2.3