commit | 12cdcf3c6615ba0f978991e5cce1ed6b63f417a4 | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Thu May 06 13:27:09 2021 -0700 |
committer | Yilong Li <liyl@google.com> | Thu May 06 13:27:09 2021 -0700 |
tree | c55e8d6e6f6ae8c1a6ccc47302c19f240910cafb | |
parent | b97553271f32df4a1d06ab0f4df46bb8d2a5fae4 [diff] |
base: Add RecursiveLock This change extends the existing StaticLock type to support recursive mutexes, and adds a new lock type "RecursiveLock" which allows recursive locking / unlocking. Both can be used in AutoLock and ConditionVariable classes. Change-Id: Ic62d51c610301eac11cebb290391a488a9961b46