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 / p016_blocked_read_progress.vec
| 1 | case blocked_read_progress |
| 2 | kind positive |
| 3 | # a parked reader wakes when bytes arrive and returns them (partial: what is there) |
| 4 | create R W B => OK |
| 5 | bread R 8 write W "hi\x00" => OK n=3 data="hi\x00" |
| 6 | check waits=1 wakeups=1 |
| 7 | bwrite W "yo" none => OK n=2 |
| 8 | read R 8 => OK n=2 data="yo" |
| 9 | close R => OK |
| 10 | close W => OK |
| 11 | check empty |