aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s007_handle_reuse.vec
| 1 | case handle_reuse |
| 2 | kind negative |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams |
| 6 | # a closed handle never reaches the stream that later reuses its slot (ST3.2, ST3.3) |
| 7 | create R W A => OK |
| 8 | close R => OK |
| 9 | close W => OK |
| 10 | create R2 W2 A => OK |
| 11 | read R 1 => STALE |
| 12 | write W "x" => STALE |
| 13 | close R => STALE |
| 14 | cancel W => STALE |
| 15 | revoke W => STALE |
| 16 | write W2 "ok" => OK n=2 |
| 17 | read R2 8 => OK n=2 data="ok" |
| 18 | close R2 => OK |
| 19 | close W2 => OK |
| 20 | check empty |