aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s014_cancel_latched.vec
| 1 | case cancel_latched |
| 2 | kind negative |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams |
| 6 | # an interrupt with nobody parked is latched and interrupts the next call on that end only (ST4.7, ST11.8) |
| 7 | create R W A => OK |
| 8 | cancel W => OK |
| 9 | read R 1 => WOULD_BLOCK |
| 10 | write W "x" => INTERRUPTED |
| 11 | write W "x" => OK n=1 |
| 12 | cancel R => OK |
| 13 | read R 1 => INTERRUPTED |
| 14 | read R 1 => OK n=1 data="x" |
| 15 | close R => OK |
| 16 | close W => OK |
| 17 | check empty |