windowjs / windowjs

Window.js is an open-source Javascript runtime for desktop graphics programming.

Home Page:https://windowjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use a single uv_loop and thread for subprocesses

joaodasilva opened this issue · comments

Each subprocess handle gets its own pipe, thread and uv_loop. The thread and the uv_loop could be shared for the same parent process though.

This might only make a difference in programs that spawn a large number of subprocesses, like the test runner.