-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Prevent tasks from interfering with other tasks #364
Comments
Doesn't running this synchronous modules in a child process solve this? |
@narqo There are a few ways to emulate threading in node.js
I'm not sure about the threading implementations but the child process route is definitely prohibitive as they can take up to 30ms to spin up |
cc @phated feasibility for wrapping task fns in undertaker with threads? |
no idea and it won't make sense to do until node 0.12 when we have contexts as contributed by github for atom editor. btw, gulp4 will nextTick everything, not sure if that will help at all. |
Closing in favor of #317 |
Scenario:
tl;dr shitty 3rd party modules that run synchronously (like uglify) will block the main loop preventing other things from running
The text was updated successfully, but these errors were encountered: