[cs631apue] mqs and hw2

Jan Schaumann jschauma at stevens.edu
Mon Oct 31 23:04:58 EDT 2022


Hello,

HW#2 has been posted:
https://stevens.netmeister.org/631/f22-hw2.html

The problem with the POSIX message queue example in
class was that in that code the _receiver_ creates the
queue and is expected to be run first.

That is, the expected demonstration should have been

cc -Wall -Werror -Wextra mqsend.c -o send -lrt
cc -Wall -Werror -Wextra mqrecv.c -o recv -lrt
./recv

./send message1 message2 message3

I'm going to update my notes and the code comments to
make sure that's obvious.

-Jan


More information about the cs631apue mailing list