alexcrichton opened PR #14550 from alexcrichton:real-join-handle to bytecodealliance:main:
Internally this type used a
TryMutexwith explicit panic-on-contention since it was originally internal to the runtime, but since then it's become an external API of the runtime meaning it's possible to use this in cross-thread situations where panicking-on-contention is not suitable. Rig up some thinMutex<T>wrappers to use with oursync-style abstractions and use that instead.<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested pchickey for a review on PR #14550.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14550.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #14550 Fix using a concurrent JoinHandle from other threads to the merge queue.
:check: alexcrichton merged PR #14550.
alexcrichton removed PR #14550 Fix using a concurrent JoinHandle from other threads from the merge queue.
github-actions[bot] added the label wasmtime:api on PR #14550.
Last updated: Oct 11 2026 at 02:20 UTC