Switch TimedRWMutex implementation to use lock_guard where possible
authorChristopher Dykes <cdykes@fb.com>
Fri, 14 Apr 2017 04:25:29 +0000 (21:25 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Apr 2017 04:35:15 +0000 (21:35 -0700)
commit4e509c4b6156aba76d3975889fdeb71c2e851f90
tree6474bb0fc6cb41eed6c18a05ded48e6fa7b56f0c
parent04de301e53306065da021bcda8fc48b9030cbd25
Switch TimedRWMutex implementation to use lock_guard where possible

Summary: As titled. There are some places where scoping prevents trivial conversion, so I've left those places with explicit lock/unlock calls.

Reviewed By: andriigrynenko, yfeldblum

Differential Revision: D4888812

fbshipit-source-id: c124306e0373ee9eb395cb98f88df63c91523d48
folly/fibers/TimedMutex-inl.h