Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-protocols-mv/blob/main/specs/osh-platform/vectors/t004_task_cancel.vec # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-protocols-mv / specs / osh-platform / vectors / t004_task_cancel.vec` 27 lines ยท 710 bytes Raw Blame History 1 case task_cancel 2 kind negative 3 exec native-qemu 4 domain 1 5 needs tasks test-authority 6 # interrupt can be handled, terminate cannot; cancelling an ended task changes nothing; a reaped id is STALE (ST6.3, ST6.5) 7 cap C => OK 8 bind B cap=C => OK 9 spawn T hang bind=B => OK 10 run => OK 11 state T => OK state=RUNNING 12 wait T => WOULD_BLOCK 13 tcancel T interrupt => OK 14 run => OK 15 wait T => OK status=130 outcome=CANCELLED 16 tcancel T interrupt => STALE 17 spawn S stubborn bind=B => OK 18 tcancel S interrupt => OK 19 run => OK 20 state S => OK state=RUNNING 21 tcancel S terminate => OK 22 wait S => OK status=137 outcome=CANCELLED 23 spawn U exit 4 bind=B => OK 24 run => OK 25 tcancel U terminate => OK 26 wait U => OK status=4 outcome=COMPLETED 27 check empty