Skip to content
Commit 3c355aa2 authored by DeLesley Hutchins's avatar DeLesley Hutchins
Browse files

Thread Safety Analysis: support adopting of locks, as implemented in

std::lock_guard.  If EXCLUSIVE_LOCKS_REQUIRED is placed on the constructor of
a SCOPED_LOCKABLE class, then that constructor is assumed to adopt the lock;
e.g. the lock must be held on construction, and will be released on destruction.

llvm-svn: 228194
parent 52a25237
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment