aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / kernel / tests / fixtures / pipe / p010_close_reader_race.vec
| 1 | case close_reader_race |
| 2 | kind negative |
| 3 | # a writer parked at capacity when the last reader closes wakes to BROKEN_PIPE |
| 4 | create R W A => OK |
| 5 | fill W 65536 62 => OK n=65536 |
| 6 | bwrite W "z" close R => BROKEN_PIPE |
| 7 | check broken_pipe=1 waits=1 wakeups=1 |
| 8 | close W => OK |
| 9 | check empty |