ashgti wrote:

> Yeah, that should be possible, and it may make more sense in a world where 
> the MainLoop cannot listen on all FD types (since you need the forwarding 
> thread anyway). It's unfortunate that there's no synchronization operation 
> (at least, not a portable one, FUTEX_FD seems kinda nice) that allows you do 
> wait for condition variables and FDs, necessitating these forwarding threads. 
> Since forwarding would add a bit of latency, one of the factors would be 
> which kinds of operations do we want to make slower.

We could adjust the lldb-dap VSCode extension to launch lldb-dap using a named 
pipe or local tcp port on Windows. Then we'd uniformly be able to support 
reading the input using the existing lldb NativeFile/Socket helpers. See 
https://code.visualstudio.com/api/references/vscode-api#DebugAdapterNamedPipeServer
 

https://github.com/llvm/llvm-project/pull/139669
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to