diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-04-04 02:54:42 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-04-04 02:54:42 +0000 |
commit | f5de7ad211dd3a92c0b057f8cd7e3b7be6c71f6b (patch) | |
tree | ea7f368381f7658b3e8fbd8b597e65e46eb196ad /lldb/packages/Python/lldbsuite/test/plugins/builder_netbsd.py | |
parent | 690c70de76203deeef1dda052a4278946da11730 (diff) | |
download | bcm5719-llvm-f5de7ad211dd3a92c0b057f8cd7e3b7be6c71f6b.tar.gz bcm5719-llvm-f5de7ad211dd3a92c0b057f8cd7e3b7be6c71f6b.zip |
Create RAII lock guard for global initialization lock.
This patch is a part of a series of cleanups to cxa_guard.cpp.
It should introduce no functionality change.
This patch refactors the use of the global mutex and condvar into
a RAII lock guard class. This improves correctness (since unlocks can't
be forgotten). It also allows the unification of the non-threading and
threading implementations.
llvm-svn: 357669
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/plugins/builder_netbsd.py')
0 files changed, 0 insertions, 0 deletions