Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to fork utility process from a worker thread #175959

Open
bpasero opened this issue Mar 2, 2023 · 0 comments
Open

Allow to fork utility process from a worker thread #175959

bpasero opened this issue Mar 2, 2023 · 0 comments
Assignees
Labels
electron Issues and items related to Electron feature-request Request for new features or functionality perf sandbox Running VSCode in a node-free environment upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Mar 2, 2023

An idea @Tyriar and Electron team discussed is whether we could fork Electron utility processes from a node.js worker to stop the main process from being stopped synchronously until the fork has completed.

If we had a way to fork from a worker thread we can:

  • potentially avoid blocking file I/O and user input during that time
  • consider reducing the artificial delay we now put onto process spawning
@bpasero bpasero added feature-request Request for new features or functionality upstream Issue identified as 'upstream' component related (exists outside of VS Code) perf electron Issues and items related to Electron sandbox Running VSCode in a node-free environment labels Mar 2, 2023
@bpasero bpasero added this to the Backlog milestone Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron Issues and items related to Electron feature-request Request for new features or functionality perf sandbox Running VSCode in a node-free environment upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants