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

Port: synchronous operations with SharedArrayBuffer #54

Open
james-pre opened this issue Oct 25, 2023 · 0 comments
Open

Port: synchronous operations with SharedArrayBuffer #54

james-pre opened this issue Oct 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@james-pre
Copy link
Member

james-pre commented Oct 25, 2023

@jvilk:

If usable SharedArrayBuffers are detected when setting up the connection to/from the worker, use them for synchronous API calls.

@fallenoak:

@jvilk Out of curiosity, would this permit an async FS being used as a sync FS for Emscripten? I'm assuming no, but maybe I haven't quite wrapped my head around something.

@jvilk:

@fallenoak Yes, it would, but only if your emscripten code is running in a WebWorker.

jvilk/BrowserFS#162

@james-pre james-pre added the enhancement New feature or request label Oct 25, 2023
@james-pre james-pre transferred this issue from zen-fs/core Mar 24, 2024
@james-pre james-pre transferred this issue from another repository May 8, 2024
@james-pre james-pre changed the title WebWorker: Enable mounting async resources as sync via SharedArrayBuffer Port: Enable mounting async resources as sync via SharedArrayBuffer May 8, 2024
@james-pre james-pre changed the title Port: Enable mounting async resources as sync via SharedArrayBuffer Port: synchronous operations with SharedArrayBuffer May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant