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 / p015_stalled_consumer.vec
| 1 | case stalled_consumer |
| 2 | kind negative |
| 3 | # a writer parked behind a consumer that never reads gives up INTERRUPTED at the wait bound, no byte moved |
| 4 | create R W A => OK |
| 5 | fill W 65536 63 => OK n=65536 |
| 6 | bwrite W "z" none => INTERRUPTED |
| 7 | check waits=2 would_block=2 cancellations=1 bytes_written=65536 |
| 8 | read R 3 => OK n=3 data="ccc" |
| 9 | close R => OK |
| 10 | close W => OK |
| 11 | check empty |