[lldb-dev] Threading model for Python API

Christian Biesinger via lldb-dev lldb-dev at lists.llvm.org
Mon Aug 5 08:59:39 PDT 2019


Hi there!

I was wondering what the threading model is for the Python API (when
running inside of LLDB, in implementing a command)?

For example: If I create a Python thread in my command, how do I
access the LLDB API? Is there an equivalent of gdb's post_event
function to run it on the main thread? Or is the API threadsafe?

I tried to look for documentation on this but was unsuccessful.

Thanks!
Christian


More information about the lldb-dev mailing list