Adding policies for all the upgrade and downgrade mutex transitions that are going...
authorAaryaman Sagar <aary@instagram.com>
Fri, 5 Aug 2016 03:05:35 +0000 (20:05 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Fri, 5 Aug 2016 03:08:25 +0000 (20:08 -0700)
commit7dd2b5809516d608c4c8f7da7ee3a8f517440003
treeda0f9c00f81fae684ecfce104a71c5e86ec94b6d
parent84f24236e480f1ab287f07c8d862df8928b45115
Adding policies for all the upgrade and downgrade mutex transitions that are going to be supported by Synchronized

Summary:
This diff contains the lock policies that will be used by Synchronized to
implement mutex transitions by means of heterogenous RAII mutex wrappers

Reviewed By: yfeldblum

Differential Revision: D3665020

fbshipit-source-id: a5509dfd58a1dd6cd60a7d3afe929d0da860926d
folly/LockTraits.h
folly/test/LockTraitsTest.cpp