Skip to content

Bad performance: launching processes in parallel on Win32 / Windows #31556

@bernd5

Description

@bernd5

I would really like to launch multiple worker-processes in parallel with minimal blocking.
My code is heavily using async / await. Unfortunately the overall perfomance is not as good as I would expect.

For me the perfomance killer seems to be line 479 lock (s_createProcessLock) which disallows effectively parallel process launching.

Why is the lock static?

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