[Lldb-commits] [lldb] [lldb] Add timeout argument to Socket::Accept (PR #117691)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 26 02:30:37 PST 2024


labath wrote:

FWIW, I think of MainLoop::Run as an equivalent to [asyncio.loop.run_forever](https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_forever), which also doesn't take a timeout argument. The library does have a `run_until_complete` method though, which could probably be used to implement timeout based running, but I don't think that's the use case they had in mind when they were adding that function.

https://github.com/llvm/llvm-project/pull/117691


More information about the lldb-commits mailing list