hanchenye-llvm-project/lldb
Enrico Granata 360cc3188d Implementing the notion of externally-acquirable ScriptInterpreter lock
With this notion, if parties outside the ScriptInterpreter itself need to acquire a lock on script APIs, they can do so by a pattern like this:

{
auto lock = interpeter->AcquireInterpreterLock();
// do whatever you need to do...
} // lock will automatically be released here

This might be useful for classes that use the Python convenience objects (e.g. PythonDictionary) to ensure they keep the underlying interpreter in a safe and controlled condition while they call through the C API functions
Of course, the ScriptInterpreter still manages its internal locking correctly when necessary :-)

llvm-svn: 178189
2013-03-27 22:38:11 +00:00
..
docs Updated the register numbering base documentation for the "gcc", "dwarf", "container-regs" and "invalidate-regs" key/value responses to the "qRegisterInfo" packet. 2013-03-12 00:14:38 +00:00
examples A few more tweaks to the python perf tests. Now there is a MemoryMeasurement. 2013-03-26 21:00:29 +00:00
include Implementing the notion of externally-acquirable ScriptInterpreter lock 2013-03-27 22:38:11 +00:00
lib Continuing the fix for the r173732 fix. Now lldb gets built with Makefiles (Darwin). 2013-01-30 00:28:58 +00:00
lldb.xcodeproj The formatters for std::shared_ptr, std::weak_ptr, std::list, std::vector and std::map as provided by libc++ are now written in C++ instead of Python 2013-03-19 22:58:48 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00
scripts Modified patch from Prabhat Verma to enable loading core files through the SBTarget API. 2013-03-25 22:40:51 +00:00
source Implementing the notion of externally-acquirable ScriptInterpreter lock 2013-03-27 22:38:11 +00:00
test Checking that the wrong syntax does not give a correct summary after clearing the error messages here 2013-03-26 00:24:27 +00:00
tools <rdar://problem/13327940> 2013-03-27 20:53:12 +00:00
utils Minor update to Vim frontend: simplify breakpoints display (and list unresolved breakpoints) 2013-02-12 00:31:40 +00:00
www - Masking out SBCommandReturnObject::Printf() from the Python layer because SWIG and varargs do not get along well. 2013-03-25 17:37:39 +00:00
.gitignore
CMakeLists.txt Select correct -std flag for CMake for different versions of gcc. 2013-03-21 20:52:53 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Fix Linux i386 build 2013-03-07 00:48:53 +00:00