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

[browser][MT] Switch to multi-threaded Emscripten VFS when it is available #76964

Open
Tracked by #68162
lambdageek opened this issue Oct 12, 2022 · 3 comments
Open
Tracked by #68162
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Milestone

Comments

@lambdageek
Copy link
Member

lambdageek commented Oct 12, 2022

Track Emscripten progress on the new VFS and upgrade when it's available.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@lambdageek lambdageek changed the title Switch to multi-threaded Emscripten VFS when it is available [wasm-mt] Switch to multi-threaded Emscripten VFS when it is available Oct 12, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 12, 2022
@lambdageek lambdageek added arch-wasm WebAssembly architecture area-Build-mono and removed untriaged New issue has not been triaged by the area owner labels Oct 12, 2022
@ghost
Copy link

ghost commented Oct 12, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Track Emscripten progress on the new VFS and upgrade when it's available.

Author: lambdageek
Assignees: -
Labels:

arch-wasm, untriaged, area-Build-mono

Milestone: -

@lewing lewing added this to the 9.0.0 milestone Jul 21, 2023
@pavelsavara pavelsavara modified the milestones: 9.0.0, Future Nov 8, 2023
@pavelsavara pavelsavara added area-VM-threading-mono os-browser Browser variant of arch-wasm and removed area-Build-mono labels Nov 9, 2023
@pavelsavara pavelsavara changed the title [wasm-mt] Switch to multi-threaded Emscripten VFS when it is available [browser][MT] Switch to multi-threaded Emscripten VFS when it is available Nov 9, 2023
@pavelsavara
Copy link
Member

pavelsavara commented Nov 10, 2023

The default FS lives on emscripten main thread and all C calls are dispatched to it, I knew that.
Lesson from today: you can't really use it from web worker JS, because that's not marshaled.

Things like FS.stat(cwd) can throw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

4 participants