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
@@ -22,6 +22,7 @@ Normative registry of effect names for AIR format 0 (spec 05 §9). Effects are f
|
||||
| `process.spawn` | `cap<process.spawn>` | later |
|
||||
| `random.read` | `cap<random.read>` | RFC 0007 |
|
||||
| `task.spawn` | none | Phase 3 |
|
||||
| `task.wait` | none | RFC 0012 (required by suspending operations in modules declaring `cancellation`, spec 04 §37.4) |
|
||||
| `thread.block` | none | Phase 3 |
|
||||
| `thread.spawn` | none | Phase 3 |
|
||||
| `unsafe` | none (unsafe boundary, spec 13) | Phase 2 |
|
||||
Reference in new issue
Block a user