-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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] JSType.OneWay fire and forget #98567
Merged
Merged
Conversation
This file contains 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
pavelsavara
added
arch-wasm
WebAssembly architecture
area-System.Runtime.InteropServices.JavaScript
os-browser
Browser variant of arch-wasm
labels
Feb 16, 2024
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsThis will be useful for
|
maraf
reviewed
Feb 17, 2024
...aries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
pavelsavara
force-pushed
the
browser_mt_oneway
branch
from
February 17, 2024 11:24
5c9990a
to
6d5baef
Compare
This was referenced Feb 17, 2024
pavelsavara
force-pushed
the
browser_mt_oneway
branch
from
February 17, 2024 14:55
6d5baef
to
85801bf
Compare
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
This was referenced Feb 17, 2024
pavelsavara
force-pushed
the
browser_mt_oneway
branch
from
February 17, 2024 18:52
5ea4c20
to
3e4e9a5
Compare
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
requested review from
lewing,
thaystg,
ilonatommy,
lambdageek and
vargaz
as code owners
February 18, 2024 11:07
maraf
approved these changes
Feb 18, 2024
kg
reviewed
Feb 18, 2024
src/libraries/System.Runtime.InteropServices.JavaScript/gen/JSImportGenerator/JSTypeFlags.cs
Show resolved
Hide resolved
kg
reviewed
Feb 18, 2024
...teropServices.JavaScript.UnitTests/System/Runtime/InteropServices/JavaScript/JSExportTest.cs
Show resolved
Hide resolved
kg
reviewed
Feb 18, 2024
...vices.JavaScript.UnitTests/System/Runtime/InteropServices/JavaScript/JavaScriptTestHelper.cs
Show resolved
Hide resolved
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
kg
reviewed
Feb 18, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
arch-wasm
WebAssembly architecture
area-System.Runtime.InteropServices.JavaScript
os-browser
Browser variant of arch-wasm
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.
This will be useful for
beginInvokeDotNetFromJS
andendInvokeJSFromDotNet
which could be fire & forget across threads.There is new API
JSType.OneWay
which will need API review later.Other changes
signature
andargs
on allInvokeJSImport
variations.ReceiverShouldFree
to make reasoning easier about who shouldfree
theargs
on heap.mono_wasm_invoke_method
tomono_wasm_invoke_jsexport
and variationsmono_wasm_invoke_import
tomono_wasm_invoke_jsimport
and variationsmono_wasm_invoke_jsimport
mono_threads_wasm_async_run_in_ui_thread
and variationsPrep for deputy
JSProxyContext.NativeTID
which will be different than current thread when we have deputy thread.mono_wasm_invoke_jsexport_async_post
andmono_wasm_invoke_jsexport_async_send
unused for nowinvoke_async_jsexport
andinvoke_sync_jsexport
, both are synchronous until deputy