Skip to content

StaticSemaphore and SEMAPHORE_INIT missing from std::sync? #21416

@aldanor

Description

@aldanor

Mutex -> StaticMutex, MUTEX_INIT
Condvar -> StaticCondvar, CONDVAR_INIT
RwLock -> StaticRwLock, RWLOCK_INIT

Should there be a static initializer for semaphores too (with count = 0?) and an associated static type? (unless they are missing from std::sync on purpose)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions