rfc: 0012 channels, mutex, select and cancellation points (Proposed)
features cancellation, channels, sync; bounded/rendezvous channels with separate linear endpoints and a drain-then-close receiver protocol; waiting-operation rule with ok/closed/cancelled edges; shields with innermost-first nesting (E4305); mutex with function-bound guard and the no-wait-while-locked rule (E4304); select over channel operations with seeded choice among ready arms and per-edge ownership (Q-013); rwlock, channel_transfer, guard_transfer reserved; owner decisions D1-D3
This commit is contained in:
1 parent
ab5814a7bb
commit
4230c78dd1
3 files changed
+415
-1
No files matched your search
@@ -107,6 +107,8 @@ Binary AIR has a `CAPABILITY_TABLE` (spec 07 §6). Undecided: how capabilities a
|
||||
|
||||
Spec 04 §14 and spec 11 §6 require a stable rule in deterministic mode but do not define it. Also undecided: scheduler seed format and which choice points are recorded.
|
||||
|
||||
**Proposed (RFC 0012):** ready arms chosen by a draw from the schedule generator (not textual order); task choices and arm choices share one stream and one `choices` count. The schedule seed was settled by RFC 0011.
|
||||
|
||||
## Q-014 — `Send`/`Share` for aggregates holding capabilities
|
||||
|
||||
Spec 02 §6 derives properties structurally; spec 05 §5 says capability types define their own transfer rules. Undecided: the derivation for a struct mixing ordinary fields with `Local` or move-only capabilities.
|
||||
|
||||
Reference in new issue
Block a user