Skip to content

Should SystemNative_Pipe and Process.Start use the same lock in native layer? #126129

Description

@adamsitnik

From @tmds in https://github.com/dotnet/runtime/pull/125848/changes#r2986434814:

It could be made a native lock that SystemNative_Pipe would also use, then the logic would apply also to pipes that are created elsewhere and then passed as handle properties

We should revisit this idea after introducing the ability to restrict handle inheritance. Because then it could be a reader lock for limited inheritance and write lock for default settings (on Unixes that don't support atomic creation of non-inheritable pipes).

Activity

  1. added this to the 11.0.0 milestone on Mar 25, 2026
  2. dotnet-policy-service commented on Mar 25, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-diagnostics-process
    See info in area-owners.md if you want to be subscribed.

  3. modified the milestones: 11.0.0, 12.0.0 on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions