-
Notifications
You must be signed in to change notification settings - Fork 47
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
Shared Memory (SharedArrayBuffer) #42
Comments
I don't understand your case: can you explain it better with an example, please? |
I think he is asking how to use shared memory between worker processes. For example have a large global object that all the workers can manipulate. |
Instead of opening a new issue I'd like to ask a similar question here: Am I right to assume that if I wanted to access a global variable (for example an express app instance), I would have to use context or pass it via data - which, however, both don't support functions and classes. |
@codepushr thanks for the clarification! @aleks63 Sorry for the late response.
So, basically you can send a SAB inside the @codepushr The only thing you cannot pass via |
fix #51 |
How to use one global object/array in every workers of pool?
The text was updated successfully, but these errors were encountered: