[lldb-dev] Release the Python GIL when entering LLDB code

Filipe Cabecinhas filcab at gmail.com
Tue Feb 28 07:15:46 PST 2012


Hi, 

Attached is a patch to have the swig python bindings compiled with thread support, where the GIL is released every time we enter LLDB code. It's possible to have a more fine-grained approach and only release the GIL on non-trivial method execution (i.e: Don't release the GIL on accessors).

Regards, 

  Filipe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swig-python-threads.patch
Type: application/octet-stream
Size: 738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120228/7d9c5c74/attachment.obj>


More information about the lldb-dev mailing list