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
@@ -55,6 +55,8 @@ pub const registry = [_]Code{
|
||||
.{ .id = "E4301", .kind = "task.live_child_escape", .meaning = "Scope exits with live child task" },
|
||||
.{ .id = "E4302", .kind = "task.borrow_escape", .meaning = "Child task borrow can outlive parent storage" },
|
||||
.{ .id = "E4303", .kind = "io.buffer_in_flight", .meaning = "Buffer accessed while async operation owns/borrows it" },
|
||||
.{ .id = "E4304", .kind = "sync.wait_while_locked", .meaning = "Suspending operation, spawn, or call of a waiting/spawning function while a lock guard is live" },
|
||||
.{ .id = "E4305", .kind = "task.shield_order", .meaning = "Shield ended while a more inner shield is live" },
|
||||
// E5xxx — AIR/verifier
|
||||
.{ .id = "E5001", .kind = "air.invalid_ssa", .meaning = "SSA definition/dominance failure" },
|
||||
.{ .id = "E5002", .kind = "air.invalid_cfg", .meaning = "Invalid block/terminator structure" },
|
||||
|
||||
Reference in new issue
Block a user