[Lldb-commits] [lldb] [lldb] Handle signals in a separate thread in the driver (PR #134956)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 11:05:50 PDT 2025


clayborg wrote:

Signals can be listened for via a file descriptor as well. Not sure if this improves the ability to do things in signal handlers as the default way of catching signals has all sorts of limitations. If it does improve the safety and ability to do things in the signal handler, we might want to look into using signalfd?

https://man7.org/linux/man-pages/man2/signalfd.2.html

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


More information about the lldb-commits mailing list