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

11 lines · 359 bytes Raw Blame History
1case stalled_consumer
2kind negative
3# a writer parked behind a consumer that never reads gives up INTERRUPTED at the wait bound, no byte moved
4create R W A => OK
5fill W 65536 63 => OK n=65536
6bwrite W "z" none => INTERRUPTED
7check waits=2 would_block=2 cancellations=1 bytes_written=65536
8read R 3 => OK n=3 data="ccc"
9close R => OK
10close W => OK
11check empty