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
dr-vortex opened this issue Oct 25, 2023 · 0 comments
Open

Port: synchronous operations with SharedArrayBuffer #54

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

Comments

@dr-vortex
Copy link
Member

dr-vortex 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

@dr-vortex dr-vortex added the enhancement New feature or request label Oct 25, 2023
@dr-vortex dr-vortex transferred this issue from zen-fs/core Mar 24, 2024
@dr-vortex dr-vortex transferred this issue from zen-fs/port May 8, 2024
@dr-vortex dr-vortex changed the title WebWorker: Enable mounting async resources as sync via SharedArrayBuffer Port: Enable mounting async resources as sync via SharedArrayBuffer May 8, 2024
@dr-vortex dr-vortex 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