-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Labels
A-shimsArea: This affects the external function shimsArea: This affects the external function shimsA-windowsArea: affects only Windows targetsArea: affects only Windows targetsE-good-first-issueA good way to start contributing, mentoring is availableA good way to start contributing, mentoring is available
Description
Thanks to @drmeepster we now do support basic concurrency and atomics on Windows (#2231). However, we do not support all of the standard library concurrency primitives. Based on my testing:
- MutexRwLockCondvarthread parkingTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
The fact that we don't support thread parking (which is needed by std::sync::mpsc
) unfortunately blocks rust-lang/rust#103681.
Metadata
Metadata
Assignees
Labels
A-shimsArea: This affects the external function shimsArea: This affects the external function shimsA-windowsArea: affects only Windows targetsArea: affects only Windows targetsE-good-first-issueA good way to start contributing, mentoring is availableA good way to start contributing, mentoring is available
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
RalfJung commentedon Oct 28, 2022
@drmeepster if I recall, you actually had a first implementation of at least thread parking. Is that code still available somewhere?
RalfJung commentedon Oct 28, 2022
Looks like the code still exists here, in particular in 2cd61e6.
Auto merge of #2630 - RalfJung:windows-parking, r=RalfJung
Auto merge of rust-lang#2630 - RalfJung:windows-parking, r=RalfJung
RalfJung commentedon Oct 29, 2022
Thread parking is implemented now, Condvars are still missing.
beepster4096 commentedon Oct 30, 2022
Opened #2638 for condvars
Auto merge of #2638 - DrMeepster:windows-condvars, r=RalfJung
Auto merge of rust-lang#2638 - DrMeepster:windows-condvars, r=RalfJung