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 / p011_close_writer_race.vec
| 1 | case close_writer_race |
| 2 | kind positive |
| 3 | # a reader parked on an empty pipe when the last writer closes wakes to EOF (0 bytes, OK) |
| 4 | create R W A => OK |
| 5 | bread R 4 close W => OK n=0 |
| 6 | check eof=1 waits=1 wakeups=1 |
| 7 | close R => OK |
| 8 | check empty |