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

19 lines · 405 bytes Raw Blame History
1case limits
2kind negative
3# a full pool or a full capability table returns LIMIT and leaves nothing allocated
4create R1 W1 A => OK
5create R2 W2 A => OK
6create R3 W3 A => OK
7create R4 W4 A => OK
8create X Y B => LIMIT
9check pipes=4
10close R1 => OK
11close W1 => OK
12check pipes=3
13dup R2 D1 A r => OK
14dup R2 D2 A r => OK
15create X Y A => LIMIT
16dup R2 D3 A r => LIMIT
17check pipes=3
18release A => OK n=8
19check empty