TartanLlama opened PR #12735 from TartanLlama:sy/concurrent-host-calls to bytecodealliance:main:
Currently, the waitable set that is used for waiting on sync-lowered, async-implemented host functions is a property of
GuestTask. As such, if multiple threads within the same task make concurrent synchronous calls to host functions that block, this state can become corrupted. This PR moves this waitable set intoGuestThreadto enable this pattern.
TartanLlama requested fitzgen for a review on PR #12735.
TartanLlama requested wasmtime-core-reviewers for a review on PR #12735.
github-actions[bot] added the label wasmtime:api on PR #12735.
alexcrichton submitted PR review:
Thanks!
alexcrichton added PR #12735 Enable multiple concurrent sync host calls from different threads in the same task to the merge queue.
alexcrichton merged PR #12735.
alexcrichton removed PR #12735 Enable multiple concurrent sync host calls from different threads in the same task from the merge queue.
Last updated: Mar 23 2026 at 16:19 UTC