John Nunley

Results 629 comments of John Nunley

> What's the benefit over calling drop or using an empty let binding? It gives it semantic meaning.

> I apologize for my previous mistake. I would like to have your opinion on whether it is better to add `is_err`, mark `is_connect_fail` as deprecated, or simply keep using...

Looks like a [spurious error](https://github.com/smol-rs/polling/actions/runs/8363127534/job/22895359605).

I think this is the relevant code: https://github.com/smol-rs/futures-lite/blob/c8066a86f27763ca4d14aa4a68829ddffd7eac5c/src/io.rs#L1910 This can be fixed in the short term by enabling release mode, and I'll see if I can investigate this in clearer...

@nikarh You said you wanted to help for this target; any updates on this?

> On Vita message written to pipe is not immediately available for `read` after calling `write` on the other side of the pipe. Could this be solved by blocking on...

Thank you! > Unfortunately, I found different behavior between Linux and AIX when `pollset_ctl`ing a fd duplicated by `fcntl`, which is relied on by `mio`. I'm looking into it but...

Good catch! I would accept a PR that puts that entire example under `feature = "std"`.

I believe so, and I believe that's why `futures` doesn't do this as well.

Yes, the inner mechanism for the `EventListener` is a `Mutex`, which means that dropping a `Recv` will temporarily lock the inner `Mutex` so it can update its internal state. If...