fitzgen opened PR #13680 from fitzgen:funnel-current-thread-through-store-opaque to bytecodealliance:main:
This commit introduces a
force_current_threadmethod (currently a stub) to funnel thread access through ahead of the deferred-thread fast path for fused sync-to-sync adapters.This commit has no behavior changes.
Part of https://github.com/bytecodealliance/wasmtime/issues/12311
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
fitzgen requested pchickey for a review on PR #13680.
fitzgen requested wasmtime-core-reviewers for a review on PR #13680.
alexcrichton unassigned pchickey from PR #13680 Route current-thread reads through StoreOpaque::{current_thread,force_current_thread}.
alexcrichton requested alexcrichton for a review on PR #13680.
alexcrichton commented on PR #13680:
Would you be ok holding off landing an incremental step like this until more infrastructure is implemented? I'd prefer to not be in a too-half-transitioned state and this is fine IMO to lump together with other changes, especially as a separate commit. (otherwise lgtm though)
fitzgen commented on PR #13680:
Yeah, sure I can roll this up into other PRs (as a separate commit)
:cross_mark: fitzgen closed without merge PR #13680.
Last updated: Jul 29 2026 at 05:03 UTC