<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>proxygen: proxygen/folly/folly/test/SynchronizedTest.cpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">proxygen </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('SynchronizedTest_8cpp.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">SynchronizedTest.cpp File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="Synchronized_8h_source.html">folly/Synchronized.h</a>></code><br /> <code>#include <<a class="el" href="Function_8h_source.html">folly/Function.h</a>></code><br /> <code>#include <<a class="el" href="LockTraitsBoost_8h_source.html">folly/LockTraitsBoost.h</a>></code><br /> <code>#include <<a class="el" href="Portability_8h_source.html">folly/Portability.h</a>></code><br /> <code>#include <<a class="el" href="ScopeGuard_8h_source.html">folly/ScopeGuard.h</a>></code><br /> <code>#include <<a class="el" href="SharedMutex_8h_source.html">folly/SharedMutex.h</a>></code><br /> <code>#include <<a class="el" href="SpinLock_8h_source.html">folly/SpinLock.h</a>></code><br /> <code>#include <<a class="el" href="GTest_8h_source.html">folly/portability/GTest.h</a>></code><br /> <code>#include <<a class="el" href="synchronization_2RWSpinLock_8h_source.html">folly/synchronization/RWSpinLock.h</a>></code><br /> <code>#include <<a class="el" href="SynchronizedTestLib_8h_source.html">folly/test/SynchronizedTestLib.h</a>></code><br /> </div> <p><a href="SynchronizedTest_8cpp_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1SynchronizedTest.html">folly::SynchronizedTest< Mutex ></a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1SynchronizedTimedTest.html">folly::SynchronizedTimedTest< Mutex ></a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1SynchronizedTimedWithConstTest.html">folly::SynchronizedTimedWithConstTest< Mutex ></a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1FakeMutex.html">folly::FakeMutex</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1SynchronizedLockTest.html">folly::SynchronizedLockTest</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1FakeAllPowerfulAssertingMutexInternal.html">folly::FakeAllPowerfulAssertingMutexInternal</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1FakeAllPowerfulAssertingMutex.html">folly::FakeAllPowerfulAssertingMutex</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfolly_1_1NonDefaultConstructibleMutex.html">folly::NonDefaultConstructibleMutex</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacefolly"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html">folly</a></td></tr> <tr class="memdesc:namespacefolly"><td class="mdescLeft"> </td><td class="mdescRight">—— Concurrent Priority <a class="el" href="classQueue.html">Queue</a> Implementation —— <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:ac6183cab521bbf4fc913df24411badb3"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ac6183cab521bbf4fc913df24411badb3">folly::SynchronizedTestTypes</a> = testing::Types< <a class="el" href="namespacefolly.html#ad53d7922c37faf1172d958c35a012087">folly::SharedMutexReadPriority</a>, <a class="el" href="namespacefolly.html#a7f2c542f345b1e9f60688f00dfe714a8">folly::SharedMutexWritePriority</a>, <a class="el" href="OpenSSLThreading_8cpp.html#a1be3f7fa26e4521098de5f1ec0f865f3">std::mutex</a>, std::recursive_mutex, <a class="el" href="OpenSSLThreading_8cpp.html#a1be3f7fa26e4521098de5f1ec0f865f3">boost::mutex</a>, boost::recursive_mutex, boost::shared_mutex, <a class="el" href="classfolly_1_1SpinLock.html">folly::SpinLock</a> ></td></tr> <tr class="separator:ac6183cab521bbf4fc913df24411badb3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a932dfbce06f7e04effb745d1706c1d41"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a932dfbce06f7e04effb745d1706c1d41">folly::SynchronizedTimedTestTypes</a> = testing::Types< <a class="el" href="namespacefolly.html#ad53d7922c37faf1172d958c35a012087">folly::SharedMutexReadPriority</a>, <a class="el" href="namespacefolly.html#a7f2c542f345b1e9f60688f00dfe714a8">folly::SharedMutexWritePriority</a> ></td></tr> <tr class="separator:a932dfbce06f7e04effb745d1706c1d41"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af007e5daac2033aa730a3bfb0b18b707"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#af007e5daac2033aa730a3bfb0b18b707">folly::SynchronizedTimedWithConstTestTypes</a> = testing::Types< <a class="el" href="namespacefolly.html#ad53d7922c37faf1172d958c35a012087">folly::SharedMutexReadPriority</a>, <a class="el" href="namespacefolly.html#a7f2c542f345b1e9f60688f00dfe714a8">folly::SharedMutexWritePriority</a> ></td></tr> <tr class="separator:af007e5daac2033aa730a3bfb0b18b707"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a00a6fc47d9c98f1ccf1d6f1ff8260b85"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a00a6fc47d9c98f1ccf1d6f1ff8260b85">folly::CountPair</a> = std::pair< int, int ></td></tr> <tr class="separator:a00a6fc47d9c98f1ccf1d6f1ff8260b85"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec05740edb03d908ce432494d6c0ac05"><td class="memTemplParams" colspan="2">template<typename LockPolicy > </td></tr> <tr class="memitem:aec05740edb03d908ce432494d6c0ac05"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aec05740edb03d908ce432494d6c0ac05">folly::LPtr</a> = LockedPtr< Synchronized< int >, LockPolicy ></td></tr> <tr class="separator:aec05740edb03d908ce432494d6c0ac05"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a5b9f6fe429bb236c3b2086177ba4840a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a5b9f6fe429bb236c3b2086177ba4840a">folly::TYPED_TEST_CASE</a> (SynchronizedTest, SynchronizedTestTypes)</td></tr> <tr class="separator:a5b9f6fe429bb236c3b2086177ba4840a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af748fba743750c74fafe7a8b62507256"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#af748fba743750c74fafe7a8b62507256">folly::TYPED_TEST</a> (SynchronizedTest, Basic)</td></tr> <tr class="separator:af748fba743750c74fafe7a8b62507256"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa16d8c2db3e4a954cd605ec63683f5b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aa16d8c2db3e4a954cd605ec63683f5b8">folly::TYPED_TEST</a> (SynchronizedTest, WithLock)</td></tr> <tr class="separator:aa16d8c2db3e4a954cd605ec63683f5b8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac296c659f7dcb5e6da9abe97ca69fc51"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ac296c659f7dcb5e6da9abe97ca69fc51">folly::TYPED_TEST</a> (SynchronizedTest, Unlock)</td></tr> <tr class="separator:ac296c659f7dcb5e6da9abe97ca69fc51"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a99f15a29303e8840ecb9c7f248ff91ed"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a99f15a29303e8840ecb9c7f248ff91ed">folly::TYPED_TEST</a> (SynchronizedTest, Deprecated)</td></tr> <tr class="separator:a99f15a29303e8840ecb9c7f248ff91ed"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9153f125d5fadab8e27a96f7e8b817c0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a9153f125d5fadab8e27a96f7e8b817c0">folly::TYPED_TEST</a> (SynchronizedTest, Concurrency)</td></tr> <tr class="separator:a9153f125d5fadab8e27a96f7e8b817c0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ede7717af58ae6c1e323d7eaf7ff831"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a6ede7717af58ae6c1e323d7eaf7ff831">folly::TYPED_TEST</a> (SynchronizedTest, AcquireLocked)</td></tr> <tr class="separator:a6ede7717af58ae6c1e323d7eaf7ff831"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac72e17b33fa7c9746c4ac0ecefe56434"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ac72e17b33fa7c9746c4ac0ecefe56434">folly::TYPED_TEST</a> (SynchronizedTest, AcquireLockedWithConst)</td></tr> <tr class="separator:ac72e17b33fa7c9746c4ac0ecefe56434"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2cdd61ae4256823f4f67bbe42a697049"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a2cdd61ae4256823f4f67bbe42a697049">folly::TYPED_TEST</a> (SynchronizedTest, DualLocking)</td></tr> <tr class="separator:a2cdd61ae4256823f4f67bbe42a697049"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a12c6419d3b64e55b835bdfe730e413b5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a12c6419d3b64e55b835bdfe730e413b5">folly::TYPED_TEST</a> (SynchronizedTest, DualLockingWithConst)</td></tr> <tr class="separator:a12c6419d3b64e55b835bdfe730e413b5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a27556b094479448fa8bf8531cc743286"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a27556b094479448fa8bf8531cc743286">folly::TYPED_TEST</a> (SynchronizedTest, ConstCopy)</td></tr> <tr class="separator:a27556b094479448fa8bf8531cc743286"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3ab9fc6590d5855d3d1d8f5c71b2592"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ac3ab9fc6590d5855d3d1d8f5c71b2592">folly::TYPED_TEST</a> (SynchronizedTest, InPlaceConstruction)</td></tr> <tr class="separator:ac3ab9fc6590d5855d3d1d8f5c71b2592"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aea4f362d73d7584063556e9b2f91ea67"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aea4f362d73d7584063556e9b2f91ea67">folly::TYPED_TEST</a> (SynchronizedTest, Exchange)</td></tr> <tr class="separator:aea4f362d73d7584063556e9b2f91ea67"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a781bf5b875a4b14decdbf30fa2fcef8f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a781bf5b875a4b14decdbf30fa2fcef8f">folly::TYPED_TEST_CASE</a> (SynchronizedTimedTest, SynchronizedTimedTestTypes)</td></tr> <tr class="separator:a781bf5b875a4b14decdbf30fa2fcef8f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac8f1cf60a71a0b0c6c1928b2419378c5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ac8f1cf60a71a0b0c6c1928b2419378c5">folly::TYPED_TEST</a> (SynchronizedTimedTest, Timed)</td></tr> <tr class="separator:ac8f1cf60a71a0b0c6c1928b2419378c5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac94ca31600851ea125c3fb0e382f39e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aac94ca31600851ea125c3fb0e382f39e">folly::TYPED_TEST</a> (SynchronizedTimedTest, TimedSynchronized)</td></tr> <tr class="separator:aac94ca31600851ea125c3fb0e382f39e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a2b44b3dbc13de914996965b4181e9b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a7a2b44b3dbc13de914996965b4181e9b">folly::TYPED_TEST_CASE</a> (SynchronizedTimedWithConstTest, SynchronizedTimedWithConstTestTypes)</td></tr> <tr class="separator:a7a2b44b3dbc13de914996965b4181e9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a664e2c6892e396d5941fd6a134c09c57"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a664e2c6892e396d5941fd6a134c09c57">folly::TYPED_TEST</a> (SynchronizedTimedWithConstTest, TimedShared)</td></tr> <tr class="separator:a664e2c6892e396d5941fd6a134c09c57"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4217027ffeaf3c581adb6d576c900f84"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a4217027ffeaf3c581adb6d576c900f84">folly::TYPED_TEST</a> (SynchronizedTimedWithConstTest, TimedSynchronizeWithConst)</td></tr> <tr class="separator:a4217027ffeaf3c581adb6d576c900f84"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee8a762e1296dca0bfb47163cc0cc41c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aee8a762e1296dca0bfb47163cc0cc41c">folly::TEST_F</a> (SynchronizedLockTest, TestCopyConstructibleValues)</td></tr> <tr class="separator:aee8a762e1296dca0bfb47163cc0cc41c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4fedb3b5aec898092012a1c47729566a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a4fedb3b5aec898092012a1c47729566a">folly::TEST_F</a> (SynchronizedLockTest, UpgradableLocking)</td></tr> <tr class="separator:a4fedb3b5aec898092012a1c47729566a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad31b0b6cbda6f1c2744394de1d258624"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ad31b0b6cbda6f1c2744394de1d258624">folly::TEST_F</a> (SynchronizedLockTest, UpgradableLockingWithULock)</td></tr> <tr class="separator:ad31b0b6cbda6f1c2744394de1d258624"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a595a1c24db866aaf47b6987932454caa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a595a1c24db866aaf47b6987932454caa">folly::TEST_F</a> (SynchronizedLockTest, TestPieceWiseConstruct)</td></tr> <tr class="separator:a595a1c24db866aaf47b6987932454caa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abae35907754e66b69bef2bbc90af4e65"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#abae35907754e66b69bef2bbc90af4e65">folly::TEST_F</a> (SynchronizedLockTest, TestTryLock)</td></tr> <tr class="separator:abae35907754e66b69bef2bbc90af4e65"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9ee440f461d2746f03cdbbd244242d4c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a9ee440f461d2746f03cdbbd244242d4c">folly::TEST_F</a> (SynchronizedLockTest, TestTryWLock)</td></tr> <tr class="separator:a9ee440f461d2746f03cdbbd244242d4c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac00665ef756accf4ba6f5092b6c008a8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ac00665ef756accf4ba6f5092b6c008a8">folly::TEST_F</a> (SynchronizedLockTest, TestTryRLock)</td></tr> <tr class="separator:ac00665ef756accf4ba6f5092b6c008a8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a380880136a580899ac515b4baa249a09"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a380880136a580899ac515b4baa249a09">folly::TEST_F</a> (SynchronizedLockTest, TestTryULock)</td></tr> <tr class="separator:a380880136a580899ac515b4baa249a09"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aded3449c3372acd07fdc09feed1fe00f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aded3449c3372acd07fdc09feed1fe00f">folly::TEST_F</a> (SynchronizedLockTest, TestLockedPtrCompatibilityExclusive)</td></tr> <tr class="separator:aded3449c3372acd07fdc09feed1fe00f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a56f9174146e70b0480fbb5d5e4135a71"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a56f9174146e70b0480fbb5d5e4135a71">folly::TEST_F</a> (SynchronizedLockTest, TestLockedPtrCompatibilityShared)</td></tr> <tr class="separator:a56f9174146e70b0480fbb5d5e4135a71"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a587acd30fc80a319c2fb3281a06cfa62"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a587acd30fc80a319c2fb3281a06cfa62">folly::TEST_F</a> (SynchronizedLockTest, TestLockedPtrCompatibilityUpgrade)</td></tr> <tr class="separator:a587acd30fc80a319c2fb3281a06cfa62"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3505764a125176854d79fe161a4f8d84"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a3505764a125176854d79fe161a4f8d84">folly::TEST_F</a> (SynchronizedLockTest, TestConvertTryLockToLock)</td></tr> <tr class="separator:a3505764a125176854d79fe161a4f8d84"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28506db1a44f6a3e9d8d5444caa01b2d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a28506db1a44f6a3e9d8d5444caa01b2d">folly::TEST</a> (FollyLockTest, TestVariadicLockWithSynchronized)</td></tr> <tr class="separator:a28506db1a44f6a3e9d8d5444caa01b2d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4ad3d01c142c9aec8e12f3dccffda4e9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a4ad3d01c142c9aec8e12f3dccffda4e9">folly::TEST</a> (FollyLockTest, TestVariadicLockWithArbitraryLockables)</td></tr> <tr class="separator:a4ad3d01c142c9aec8e12f3dccffda4e9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a58d2e77af0ed7c06457c63191d424cc8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a58d2e77af0ed7c06457c63191d424cc8">folly::TEST</a> (FollyLockTest, TestVariadicLockSmartAndPoliteAlgorithm)</td></tr> <tr class="separator:a58d2e77af0ed7c06457c63191d424cc8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aceb11a98d763b822f19142013e846c98"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#aceb11a98d763b822f19142013e846c98">folly::TEST</a> (SynchronizedAlgorithmTest, Basic)</td></tr> <tr class="separator:aceb11a98d763b822f19142013e846c98"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3bc265d5c537605dd2d1e51f6dcd861a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a3bc265d5c537605dd2d1e51f6dcd861a">folly::TEST</a> (SynchronizedAlgorithmTest, BasicNonShareableMutex)</td></tr> <tr class="separator:a3bc265d5c537605dd2d1e51f6dcd861a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a36eb3655c9fbcc1cbf22053d90540b9f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a36eb3655c9fbcc1cbf22053d90540b9f">folly::TEST</a> (Synchronized, SynchronizedFunctionNonConst)</td></tr> <tr class="separator:a36eb3655c9fbcc1cbf22053d90540b9f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab2748ed6286a4e8a9f81a893a2cf805b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#ab2748ed6286a4e8a9f81a893a2cf805b">folly::TEST</a> (Synchronized, SynchronizedFunctionConst)</td></tr> <tr class="separator:ab2748ed6286a4e8a9f81a893a2cf805b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3469211273fad772414584745c5ffe9d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a3469211273fad772414584745c5ffe9d">folly::TEST</a> (Synchronized, SynchronizedFunctionManyObjects)</td></tr> <tr class="separator:a3469211273fad772414584745c5ffe9d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:a383d59d2ae721346dacc8d51b6df2b29"><td class="memItemLeft" align="right" valign="top">static FakeAllPowerfulAssertingMutexInternal </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefolly.html#a383d59d2ae721346dacc8d51b6df2b29">folly::globalAllPowerfulAssertingMutex</a></td></tr> <tr class="separator:a383d59d2ae721346dacc8d51b6df2b29"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Variable Documentation</h2> <a class="anchor" id="ab04e2d55ea4a544f3575812582af7b51"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int current {<a class="el" href="SynchronizedTest_8cpp.html#a007dd1e55a60f09d2b85af990f9e372d">gId</a>++}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00743">743</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> <p>Referenced by <a class="el" href="Base-inl_8h_source.html#l00291">folly::gen::detail::Sequence< Value, SequenceImpl >::apply()</a>, <a class="el" href="IOBufTest_8cpp_source.html#l00307">checkChain()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00546">folly::IOBuf::cloneAsValue()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00576">folly::IOBuf::cloneCoalescedAsValueWithHeadroomTailroom()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00722">folly::IOBuf::coalesceAndReallocate()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00501">folly::IOBuf::computeChainDataLength()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00493">folly::IOBuf::countChainElements()</a>, <a class="el" href="CacheLocality_8h_source.html#l00231">folly::AccessSpreader< Atom >::current()</a>, <a class="el" href="Compression_8cpp_source.html#l00444">folly::io::StreamCodec::doCompress()</a>, <a class="el" href="Compression_8cpp_source.html#l00494">folly::io::StreamCodec::doUncompress()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00482">folly::IOBuf::empty()</a>, <a class="el" href="OpenSSLEVPCipher_8cpp_source.html#l00264">fizz::detail::evpDecrypt()</a>, <a class="el" href="OpenSSLEVPCipher_8cpp_source.html#l00186">fizz::detail::evpEncrypt()</a>, <a class="el" href="Base-inl_8h_source.html#l00301">folly::gen::detail::Sequence< Value, SequenceImpl >::foreach()</a>, <a class="el" href="AsyncTransport_8h_source.html#l00738">folly::AsyncTransportWrapper::getUnderlyingTransport()</a>, <a class="el" href="IOBuf_8h_source.html#l00920">folly::IOBuf::isManaged()</a>, <a class="el" href="IOBuf_8h_source.html#l00902">folly::IOBuf::isShared()</a>, <a class="el" href="IndexedMemPool_8h_source.html#l00525">folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::localHead()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00664">folly::IOBuf::makeManagedChained()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00656">folly::IOBuf::markExternallyShared()</a>, <a class="el" href="StructuredHeadersBuffer_8cpp_source.html#l00097">proxygen::StructuredHeadersBuffer::parseBinaryContent()</a>, <a class="el" href="StructuredHeadersBuffer_8cpp_source.html#l00155">proxygen::StructuredHeadersBuffer::parseIdentifier()</a>, <a class="el" href="StructuredHeadersBuffer_8cpp_source.html#l00039">proxygen::StructuredHeadersBuffer::parseNumber()</a>, <a class="el" href="StructuredHeadersBuffer_8cpp_source.html#l00203">proxygen::StructuredHeadersBuffer::parseString()</a>, <a class="el" href="Synchronized_8h_source.html#l01095">folly::LockedPtrBase< SynchronizedType, SynchronizedType::MutexType, LockPolicy >::releaseLock()</a>, <a class="el" href="Base-inl_8h_source.html#l00323">folly::gen::detail::RangeImpl< Value >::step()</a>, <a class="el" href="Base-inl_8h_source.html#l00355">folly::gen::detail::SeqImpl< Value >::step()</a>, <a class="el" href="Base-inl_8h_source.html#l00384">folly::gen::detail::InfiniteImpl< Value >::step()</a>, <a class="el" href="ForeachTest_8cpp_source.html#l00115">TEST()</a>, <a class="el" href="IOBufUtil_8h_source.html#l00038">fizz::transformBuffer()</a>, <a class="el" href="IOBufUtil_8cpp_source.html#l00015">fizz::trimBytes()</a>, <a class="el" href="IOBuf_8cpp_source.html#l00632">folly::IOBuf::unshareChained()</a>, <a class="el" href="DistributedMutex-inl_8h_source.html#l00642">folly::detail::distributed_mutex::wake()</a>, <a class="el" href="ExportedAuthenticator_8cpp_source.html#l00266">fizz::detail::writeBuf()</a>, <a class="el" href="Types-inl_8h_source.html#l00179">fizz::detail::writeBuf< bits24 >()</a>, <a class="el" href="Types-inl_8h_source.html#l00149">fizz::detail::writeVector()</a>, and <a class="el" href="ConcurrentSkipList_8h_source.html#l00201">folly::ConcurrentSkipList< T, Comp, NodeAlloc, MAX_HEIGHT >::~ConcurrentSkipList()</a>.</p> </div> </div> <a class="anchor" id="a007dd1e55a60f09d2b85af990f9e372d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int gId</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00730">730</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="a9476109793f53501b9c6dffc6a22b7ee"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int gOrder</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00731">731</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="a4d2bd5b19fc628d354921be243321954"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const bool kShouldSucceed</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00632">632</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> <p>Referenced by <a class="el" href="SynchronizedTest_8cpp_source.html#l00544">folly::TEST_F()</a>.</p> </div> </div> <a class="anchor" id="a9ee044371d7c48b66e009a9d9be524aa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int numTimesLocked {0}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00685">685</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="a218a88b733adf5e06d357e0bf6f251a1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int numTimesUnlocked {0}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00686">686</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="a8088c621c9fc1d594e6b5cce14a79eed"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::function<void()> onLock {[] {}}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00633">633</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> <p>Referenced by <a class="el" href="SynchronizedTest_8cpp_source.html#l00544">folly::TEST_F()</a>.</p> </div> </div> <a class="anchor" id="ad575ad510affb11659f5c82d11a33b99"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::function<void()> onLock_</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00661">661</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="ac9cc84acff72e0688b275c9032e6557c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::function<void()> onLockShared_</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00663">663</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="adaa2e27f1f860311536d36144598c244"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::function<void()> onUnlock {[] {}}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00634">634</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> <p>Referenced by <a class="el" href="SynchronizedTest_8cpp_source.html#l00544">folly::TEST_F()</a>.</p> </div> </div> <a class="anchor" id="ae8cd49dd2a4633036cfaa468c413aa09"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::function<void()> onUnlock_</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00662">662</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="ae6185e99d87c66976a33d1523357e896"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::function<void()> onUnlockShared_</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00664">664</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> <a class="anchor" id="ac85d5511fdb8d162a7278bfb440ae420"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int order {-1}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00744">744</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> <p>Referenced by <a class="el" href="FutureDAGTest_8cpp_source.html#l00068">FutureDAGTest::checkOrder()</a>, <a class="el" href="WhenN-inl_8h_source.html#l00147">folly::fibers::collectAll()</a>, <a class="el" href="AtomicSharedPtr_8h_source.html#l00124">folly::atomic_shared_ptr< T, Atom, CountedDetail >::exchange()</a>, <a class="el" href="AtomicSharedPtr_8h_source.html#l00106">folly::atomic_shared_ptr< T, Atom, CountedDetail >::load()</a>, <a class="el" href="AtomicBitSet_8h_source.html#l00142">folly::AtomicBitSet< N >::set()</a>, <a class="el" href="AtomicSharedPtr_8h_source.html#l00116">folly::atomic_shared_ptr< T, Atom, CountedDetail >::store()</a>, <a class="el" href="AtomicSharedPtr_8h_source.html#l00342">folly::atomic_shared_ptr< T, Atom, CountedDetail >::takeOwnedBase()</a>, and <a class="el" href="EliasFanoCodingTest_8cpp_source.html#l00133">TEST_F()</a>.</p> </div> </div> <a class="anchor" id="a338f15cfce2bf5ac6ceb81073c33cf12"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool shouldTryLockSucceed {true}</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="SynchronizedTest_8cpp_source.html#l00687">687</a> of file <a class="el" href="SynchronizedTest_8cpp_source.html">SynchronizedTest.cpp</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_d333e33cf903653326082c1f32e03be5.html">proxygen</a></li><li class="navelem"><a class="el" href="dir_32ce190710b1753ff87b781fbaae9b47.html">folly</a></li><li class="navelem"><a class="el" href="dir_dcf8e1233ba68571c5027662569cd1d9.html">folly</a></li><li class="navelem"><a class="el" href="dir_1225781ec9161af73a1065ad4149bfd8.html">test</a></li><li class="navelem"><a class="el" href="SynchronizedTest_8cpp.html">SynchronizedTest.cpp</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> </ul> </div> </body> </html>