ashgti wrote:

I suppose that would correspond to the `EVFILT_EXCEPT` kqueue filter, I didn't 
realize you needed to poll the file that way (e.g. if you use `select` you need 
the memory pressure FD in the errorfds set).

I guess there isn't much need for a generic `RegisterErrorObject` function on 
MainLoop at the moment, I don't know if there are any other use cases for 
detecting an error/exceptional state in a file handle. At least on macOS, that 
would only be used to detect out-of-band data on sockets.

https://github.com/llvm/llvm-project/pull/178083
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to