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

8 lines · 230 bytes Raw Blame History
1case close_writer_race
2kind positive
3# a reader parked on an empty pipe when the last writer closes wakes to EOF (0 bytes, OK)
4create R W A => OK
5bread R 4 close W => OK n=0
6check eof=1 waits=1 wakeups=1
7close R => OK
8check empty