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 / evidence / own-gpu-driver / rung0 / wait-then-window.sh
| 1 | #!/usr/bin/env bash |
| 2 | # L332 rung 0: wait (5 min polls of a file, no locks held) until the coordinator's chip reservation is gone or names L332, then run window.sh. |
| 3 | here=$(cd "$(dirname "$0")" && pwd) |
| 4 | RES=$HOME/.local/state/aien-coordinator/CHIP-RESERVED |
| 5 | while [ -f "$RES" ] && ! head -1 "$RES" | cut -d"(" -f1 | tr " " "\n" | grep -qx L332; do sleep 300; done |
| 6 | exec bash "$here/window.sh" |