Skip to content

Does locking for EventSource.DoCommand need to be a global lock? #45059

Open
@benaadams

Description

@benaadams

On startup FrameworkEventSource and RuntimeEventSource; while running on different threads, contend on EventSource.Initialize waiting for the DoCommand of the other to complete, so run sequentially (intermixed), also PortableThreadPoolEventSource and ArrayPoolEventSource:

image

image

/cc @stephentoub

Related to #44598

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions