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

13 lines · 284 bytes Raw Blame History
1case dup_refs
2kind positive
3# every dup is a reference: EOF only after the last write end closes
4create R W A => OK
5dup W W2 A w => OK
6close W => OK
7write W2 "x" => OK n=1
8read R 4 => OK n=1 data="x"
9read R 4 => WOULD_BLOCK
10close W2 => OK
11read R 4 => OK n=0
12close R => OK
13check empty