Skip to content

[NativeAOT] Need to add support on Unix for recursive Crst #74680

Closed
@VSadov

Description

@VSadov

Concurrent GC uses recursive Crst and does rely on reentrancy when scanning handles asynchronously.

NativeAOT ignores the CRST_REENTRANCY and just uses the default for the given platform. On Unix the pthread default is not recursive, thus BGC, if enabled, occasionally deadlocks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions