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

9 lines · 265 bytes Raw Blame History
1case close_reader_race
2kind negative
3# a writer parked at capacity when the last reader closes wakes to BROKEN_PIPE
4create R W A => OK
5fill W 65536 62 => OK n=65536
6bwrite W "z" close R => BROKEN_PIPE
7check broken_pipe=1 waits=1 wakeups=1
8close W => OK
9check empty