[cfe-commits] [PATCH] Thread-safety analysis: add support for scoped_lockable attribute

Delesley Hutchins delesley at google.com
Fri Oct 21 15:28:10 PDT 2011


This patch adds support for the scoped_lockable attribute, which is
used to create wrapper objects that acquire a mutex on construction,
and automatically release the mutex when they leave scope.  The patch
allows one mutex to map to another, and removes the second when the
first is released.

  http://codereview.appspot.com/5314051/

-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-scoped-lockable.patch
Type: text/x-patch
Size: 12352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111021/a82216cf/attachment.bin>


More information about the cfe-commits mailing list