Skip to content

Is it possible to change the max value of a named semaphore without reboot? #6605

Open
@Ebola-Chan-bot

Description

@Ebola-Chan-bot

I found no methods to directly change the max value of a named semaphore. Even if I disposed and reconstructed one, the new semaphore still inherited the first configuration, i.e., the new max value given to the reconstruction is ignored.
The only way to change the max value I found is to reboot the OS.
Is it by design or a bug? Any workarounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.Threadingproduct-questionProduct usage related questionsuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions