spec: accept RFC 0012 and integrate waits, channels, select and mutex
revision 2 per owner review: reserved-feature dependencies may change until publication (general rule, DD-014); task.join.cancel returns the handle on cancelled with loans still LOANED; channel.sender.dup from ref<sender<T>> (MPSC, receiver_dup reserved); task.wait required by every suspending operation, task.join included, only in modules declaring cancellation; sent values and handles come back as block parameters on closed/cancelled edges; explicit channel states spec 04 §37-§41 and pointers in §11-§16, §35, §36; spec 05 §9, 07 §8.11, 07a, 08 §14, 11 §6-§7; features cancellation, channels, sync published (implementation pending); rwlock, channel_transfer, receiver_dup, guard_transfer reserved; effect task.wait; E4304, E4305; Q-013 resolved; bundle +15.8 % tokens (recorded)
This commit is contained in:
1 parent
4230c78dd1
commit
b82bc35c5f
19 files changed
+387
-67
No files matched your search
@@ -18,7 +18,7 @@ Status values: `open`, `resolved`.
|
||||
| Q-010 | resolved | P1 | Region generation checks: static, dynamic, or both |
|
||||
| Q-011 | resolved | P2 | Effect hierarchy and discharge |
|
||||
| Q-012 | resolved | P2 | Capability representation and host instantiation |
|
||||
| Q-013 | open | P3 | Deterministic `select` rule and scheduler seed |
|
||||
| Q-013 | resolved | P3 | Deterministic `select` rule and scheduler seed |
|
||||
| Q-014 | resolved | P3 | `Send`/`Share` derivation for aggregates holding capabilities |
|
||||
| Q-015 | open | P5 | Operational weak-memory model for the interpreter |
|
||||
| Q-016 | open | P0 | Floating-point determinism |
|
||||
@@ -107,7 +107,7 @@ 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.
|
||||
**Resolved (RFC 0012, spec 04 §39):** 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
|
||||
|
||||
|
||||
Reference in new issue
Block a user