aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s012_both_closed.vec
| 1 | case both_closed |
| 2 | kind negative |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams |
| 6 | # both ends closed: the pipe and its unread bytes are gone; double close is STALE (ST4.8) |
| 7 | create R W A => OK |
| 8 | write W "lost" => OK n=4 |
| 9 | close W => OK |
| 10 | close R => OK |
| 11 | check empty |
| 12 | close R => STALE |
| 13 | close W => STALE |
| 14 | read R 1 => STALE |
| 15 | check empty |