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

13 lines · 359 bytes Raw Blame History
1case revoke_blocked_read
2kind negative
3# a reader parked on an empty pipe wakes on revoke and gets REVOKED; nothing flows afterwards
4create R W A => OK
5bread R 4 revoke W => REVOKED
6check revocations=1 waits=1 wakeups=1
7write W "x" => REVOKED
8read R 1 => REVOKED
9dup R X A r => REVOKED
10cancel R => REVOKED
11close R => OK
12close W => OK
13check empty bytes_read=0