Mike Percy has uploaded a new patch set (#2). Change subject: Add ThreadRestrictions-aware LockGuard and UniqueLock ......................................................................
Add ThreadRestrictions-aware LockGuard and UniqueLock These are thin wrapper classes around std::lock_guard and std::unique_lock that automatically call ThreadRestrictions::AssertWaitAllowed() when acquiring locks. Change-Id: I87760f2721abab857165ad6e5ac6ac946992a927 --- M src/kudu/util/CMakeLists.txt A src/kudu/util/lock_guard-test.cc A src/kudu/util/lock_guard.h 3 files changed, 156 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/7011/2 -- To view, visit http://gerrit.cloudera.org:8080/7011 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I87760f2721abab857165ad6e5ac6ac946992a927 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Mike Percy <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Kudu Jenkins
