Skip to content

Perform spurious wakeups from park? #2307

Open
@RalfJung

Description

@RalfJung

The specification of park allows spurious wakeups. I am not entirely sure what our implementation of the underlying OS primitive currently entails, but it might be that it will never spuriously wake up. In which case it'd be nice if we could somehow artificially make it wake up -- like with compare_exchange_weak, that is probably a not-well-tested code path in programs using park.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-concurrencyArea: affects our concurrency (multi-thread) supportC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions