alexcrichton requested dicej for a review on PR #11871.
alexcrichton opened PR #11871 from alexcrichton:doc-some-pitfalls to bytecodealliance:main:
call_concurrentis more like a "spawn" operation within a store so it cannot be cancelled by dropping the returned future.call_concurrentcannot be cancelled today other than by dropping the whole store. This is the subject of #11833.call_concurrentcannot make progress outside ofrun_concurrent.run_concurrentdoes not properly implement "select" operations internally due to #11869 and #11870. This means that timeouts withinrun_concurrentwill not work.<!--
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
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #11871.
dicej submitted PR review.
dicej created PR review comment:
"is reentered" connotes recursion; maybe just say "is called again" here?
dicej created PR review comment:
A possibly clearer (or at least more precise) way to phrase this first sentence:
At this time there are certain situations in which the
Futurereturned by theAsyncFnOncepassed to this function will not be polled for an extended period of time, despite one or moreWaker::wakeevents having occurred for the task to which it belongs. This can manifest as theFutureseeming to be "blocked" or "locked up", but is actually due to theStorebeing held by e.g. a blocking host function, preventing theFuturefrom being polled.
alexcrichton updated PR #11871.
alexcrichton has enabled auto merge for PR #11871.
alexcrichton merged PR #11871.
Last updated: Jan 10 2026 at 02:36 UTC