-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[wasm-mt] Support async JS interop on threadpool threads #84494
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
Merged
lambdageek
merged 18 commits into
dotnet:main
from
lambdageek:pieces-wasm-threadpool-worker-4-async-threadpool-worker
Apr 28, 2023
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8c3fef3
[wasm-mt] Full JSInterop on threadpool workers
lambdageek a3db886
[wasm-mt] Add background interop to smoketest
lambdageek 847ecd5
update to use the LowLevelLifoAsyncWaitSemaphore
lambdageek dd69c8f
adjust to renamed PortableThreadPool helper methods
lambdageek 451d21b
adjust to renamed WebWorkerEventLoop.HasJavaScriptInteropDependents
lambdageek 2889a1f
extend and rationalize the smoke test a bit
lambdageek 92d80a5
remove old-Emscripten workaround hack
lambdageek 5f4acc8
hide some debug output
lambdageek 806b770
smoke test: dispose of the ImportAsync result after the task is done
lambdageek d2811f7
[wasm-mt] make JSHostImplementation.s_csOwnedObjects ThreadStatic
lambdageek 48d22ae
remove locking on JSHostImplementation.CsOwnedObjects
lambdageek c813701
Merge remote-tracking branch 'origin/main' into pieces-wasm-threadpoo…
lambdageek 0a4dd8c
Merge remote-tracking branch 'origin/main' into pieces-wasm-threadpoo…
lambdageek 77a54ff
[threads] make the "external eventloop" platform independent
lambdageek fd99953
fix wasi and singlethreaded browser-wasm
lambdageek 4671e03
Add a Thread.HasExternalEventLoop managed property
lambdageek e22ca46
rename JSHostImplementation.ThreadCsOwnedObjects
lambdageek c591501
[checked] assert GC Safe mode, when returning to external eventloop
lambdageek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove locking on JSHostImplementation.CsOwnedObjects
In single-threaded wasm, there is no need to lock since there is only one caller at a time. In multi-threaded wasm, the underlying dictionary is thread-static
- Loading branch information
commit 48d22aea63cd5db77f1c87a1f7c9d87fac75e9ff
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.