interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / native / kernel / tests / fixtures / pipe / p016_blocked_read_progress.vec

11 lines · 317 bytes Raw Blame History
1case blocked_read_progress
2kind positive
3# a parked reader wakes when bytes arrive and returns them (partial: what is there)
4create R W B => OK
5bread R 8 write W "hi\x00" => OK n=3 data="hi\x00"
6check waits=1 wakeups=1
7bwrite W "yo" none => OK n=2
8read R 8 => OK n=2 data="yo"
9close R => OK
10close W => OK
11check empty