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

11 lines · 360 bytes Raw Blame History
1case revoke_blocked_write
2kind negative
3# a writer parked on a full pipe wakes on revoke; the 64 KiB already buffered is scrubbed, never delivered
4create R W A => OK
5fill W 65536 61 => OK n=65536
6bwrite W "z" revoke R => REVOKED
7check revocations=1 waits=1 wakeups=1 bytes_written=65536
8read R 1 => REVOKED
9close W => OK
10close R => OK
11check empty bytes_read=0