aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s013_cancel_blocked_read.vec
| 1 | case cancel_blocked_read |
| 2 | kind negative |
| 3 | exec native-qemu |
| 4 | domain any |
| 5 | needs streams |
| 6 | # an interrupt wakes a parked reader INTERRUPTED with nothing moved, once (ST4.7) |
| 7 | create R W A => OK |
| 8 | bread R 4 cancel R => INTERRUPTED |
| 9 | read R 4 => WOULD_BLOCK |
| 10 | write W "ok" => OK n=2 |
| 11 | read R 4 => OK n=2 data="ok" |
| 12 | close W => OK |
| 13 | close R => OK |
| 14 | check empty |