Anton Bachin
Anton Bachin
Noting: http://stackoverflow.com/a/34987825/2482998. Haven't yet looked deeply at it. Thanks for writing that up.
Is this issue referring to the [`select` engine](https://github.com/ocsigen/lwt/blob/fa4fa370aacdfe0f6f86bb3716c0bac0cbe3f28d/src/unix/lwt_engine.ml#L290-L304), which, I see, is using `gettimeofday`, or [libev](https://github.com/ocsigen/lwt/blob/fa4fa370aacdfe0f6f86bb3716c0bac0cbe3f28d/src/unix/lwt_engine.ml#L200-L202)?
That call eventually triggers one of the two sets of code from my message, so I'd like to get an idea of which one it is for you :) I...
Ok, thanks. We should still keep this open a a reminder to fix it in the `select` code, if that can be done portably, until either it's fixed or that...
The `poll` portion seems related to #36 (though causing a different problem).
> It'd also need to be a different function to allow for the convenience of getting the results in a conveniently typed container. Specifically, it's currently possible to do things...
@talex5 What do you think about building tracing into Lwt unconditionally, to be toggled on/off at runtime?
Also, @talex5, is tracing being used these days at Mirage (or elsewhere)?
Yes, this is most likely due to an fd over the limit for `select`. I do prefer `EBADF` to `EINVAL`, it seems more consistent with the (still ambiguous) verbiage here:...
We may want to merge code like your check into the `select` engine, to get nicer error messages. If the Mantis ticket results in `Unix.select` throwing `EBADF` instead, we'll have...