Pretty much as the topic, maybe I missed, but I didn't find it was mentioned anywhere. Or is this implementation dependent? Tokio seems to be assuming(?) the underlying poll API to be edge-triggered though. Thanks!
It's level-triggered, like traditional Unix poll
.
I'm not familiar with Tokio at this depth; do you in what way it might be depending on the poll API being edge-triggered?
Thank you Dan. IIUC, tokio/mio works for ET based API(there's an open PR to support poll like LT based one), which makes it a bit hard to use tokio inside WASI directly.
Last updated: Dec 23 2024 at 12:05 UTC