aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s016_blocked_read_progress.vec
| 1 | case blocked_read_progress |
| 2 | kind positive |
| 3 | exec native-qemu |
| 4 | domain any |
| 5 | needs streams |
| 6 | # a parked reader returns as soon as one write lands; a blocking write with room never parks (ST4.1, ST4.6) |
| 7 | create R W B => OK |
| 8 | bread R 8 write W "hi\x00" => OK n=3 data="hi\x00" |
| 9 | bwrite W "yo" none => OK n=2 |
| 10 | read R 8 => OK n=2 data="yo" |
| 11 | close R => OK |
| 12 | close W => OK |
| 13 | check empty |