Fix bug in OS2_receive_message. It's possible to arrive here with a
authorChris Hanson <org/chris-hanson/cph>
Tue, 11 Apr 1995 05:19:34 +0000 (05:19 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 11 Apr 1995 05:19:34 +0000 (05:19 +0000)
commit0b15555da3548298aae356278229a76671382417
treee1d07cb8a202e5e580e2a5b5f5b6793f0a6fe585
parent2307a5f967fea6b7629a300ee98e98bfc836a0ea
Fix bug in OS2_receive_message.  It's possible to arrive here with a
closed qid due to race conditions when the sending thread closes the
qid while the reading thread is about to read from it.  This was
happening under some circumstances when sending mail: the sendmail
program doesn't generate any output, and if it terminates before the
input thread's first read, the qid will be closed.
v7/src/microcode/os2msg.c