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

12 lines · 333 bytes Raw Blame History
1case cancel_blocked_read
2kind negative
3# cancel interrupts a parked reader once, no byte moved; the next call runs normally
4create R W A => OK
5bread R 4 cancel R => INTERRUPTED
6check cancellations=1 waits=1 wakeups=1
7read R 4 => WOULD_BLOCK
8write W "ok" => OK n=2
9read R 4 => OK n=2 data="ok"
10close W => OK
11close R => OK
12check empty