- Notifications
You must be signed in to change notification settings - Fork4.9k
Commita1480ec
committed
shm_mq: Repair breakage from previous commit.
If the counterparty writes some data into the queue and then detaches,it's wrong to return SHM_MQ_DETACHED right away. If we do that, wefail to read whatever was written.1 parent872101b commita1480ec
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
501 | 501 |
| |
502 | 502 |
| |
503 | 503 |
| |
504 |
| - | |
505 |
| - | |
506 | 504 |
| |
| 505 | + | |
| 506 | + | |
| 507 | + | |
507 | 508 |
| |
| 509 | + | |
508 | 510 |
| |
509 | 511 |
| |
510 | 512 |
| |
|
0 commit comments
Comments
(0)