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 / s013_cancel_blocked_read.vec

14 lines · 332 bytes Raw Blame History
1case cancel_blocked_read
2kind negative
3exec native-qemu
4domain any
5needs streams
6# an interrupt wakes a parked reader INTERRUPTED with nothing moved, once (ST4.7)
7create R W A => OK
8bread R 4 cancel R => INTERRUPTED
9read R 4 => WOULD_BLOCK
10write W "ok" => OK n=2
11read R 4 => OK n=2 data="ok"
12close W => OK
13close R => OK
14check empty