interplane.Get Omega
Read in your language

aien-protocols-mv

Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem

Brought by drakestapleton

branch main Branches Tags History

aien-protocols-mv / specs / osh-platform / vectors / s019_dup_refs.vec

16 lines · 348 bytes Raw Blame History
1case dup_refs
2kind positive
3exec host-logic
4domain any
5needs streams
6# every duplicate is a separate writer; end of stream waits for all of them (ST4.4, ST4.10)
7create R W A => OK
8dup W W2 A w => OK
9close W => OK
10write W2 "x" => OK n=1
11read R 4 => OK n=1 data="x"
12read R 4 => WOULD_BLOCK
13close W2 => OK
14read R 4 => OK n=0
15close R => OK
16check empty