Skip to content

mutexes should be separate from condition variables #10574

Closed
@thestinger

Description

@thestinger

It's very common to use a single mutex with many condition variables.

Windows Vista and later have support for native condition variables without emulation. Windows XP support ends in April 2014 so there's no need for Rust to cripple the API to support it.

A simple example: https://github.com/thestinger/rust-core/blob/master/core/concurrent.rs#L73

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions