aien-protocols-mv
Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem
Brought by drakestapleton
aien-protocols-mv / specs / osh-platform / vectors / s019_dup_refs.vec
| 1 | case dup_refs |
| 2 | kind positive |
| 3 | exec host-logic |
| 4 | domain any |
| 5 | needs streams |
| 6 | # every duplicate is a separate writer; end of stream waits for all of them (ST4.4, ST4.10) |
| 7 | create R W A => OK |
| 8 | dup W W2 A w => OK |
| 9 | close W => OK |
| 10 | write W2 "x" => OK n=1 |
| 11 | read R 4 => OK n=1 data="x" |
| 12 | read R 4 => WOULD_BLOCK |
| 13 | close W2 => OK |
| 14 | read R 4 => OK n=0 |
| 15 | close R => OK |
| 16 | check empty |