
#15267: Extend TVar/MVar to N capacity / Add primitive channal type
-------------------------------------+-------------------------------------
Reporter: winter | Owner: (none)
Type: feature | Status: new
request |
Priority: high | Milestone: 8.6.1
Component: Runtime | Version: 8.4.3
System |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
The current concurrent primitives `TVar` and `MVar` have a fixed single
capacity for holding the value to be synchronized. This pose great
limitations on implementing many higher level concurrent structures
efficiently, e.g. bound channel, semaphore, resource pool, etc. For
example current