proxygen
SynchronizedTestLib-inl.h File Reference
#include <folly/Random.h>
#include <folly/Synchronized.h>
#include <folly/container/Foreach.h>
#include <folly/portability/GTest.h>
#include <glog/logging.h>
#include <algorithm>
#include <condition_variable>
#include <functional>
#include <map>
#include <random>
#include <thread>
#include <vector>

Go to the source code of this file.

Classes

struct  folly::sync_tests::NotCopiableNotMovable
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::sync_tests
 

Functions

std::mt19937 & folly::sync_tests::getRNG ()
 
void folly::sync_tests::randomSleep (std::chrono::milliseconds min, std::chrono::milliseconds max)
 
template<class Function >
void folly::sync_tests::runParallel (size_t numThreads, const Function &function)
 
template<class Mutex >
std::enable_if< folly::LockTraits< Mutex >::is_shared >::type folly::sync_tests::testBasicImpl ()
 
template<class Mutex >
std::enable_if<!folly::LockTraits< Mutex >::is_shared >::type folly::sync_tests::testBasicImpl ()
 
template<class Mutex >
void folly::sync_tests::testBasic ()
 
template<class Mutex >
std::enable_if< folly::LockTraits< Mutex >::is_shared >::type folly::sync_tests::testWithLock ()
 
template<class Mutex >
std::enable_if<!folly::LockTraits< Mutex >::is_shared >::type folly::sync_tests::testWithLock ()
 
template<class Mutex >
void folly::sync_tests::testUnlockCommon ()
 
template<class Mutex >
std::enable_if< folly::LockTraits< Mutex >::is_shared >::type folly::sync_tests::testUnlock ()
 
template<class Mutex >
std::enable_if<!folly::LockTraits< Mutex >::is_shared >::type folly::sync_tests::testUnlock ()
 
template<class Mutex >
void folly::sync_tests::testDeprecated ()
 
template<class Mutex >
void folly::sync_tests::testConcurrency ()
 
template<class Mutex >
void folly::sync_tests::testAcquireLocked ()
 
template<class Mutex >
void folly::sync_tests::testAcquireLockedWithConst ()
 
template<class Mutex >
void folly::sync_tests::testDualLocking ()
 
template<class Mutex >
void folly::sync_tests::testDualLockingWithConst ()
 
template<class Mutex >
void folly::sync_tests::testTimed ()
 
template<class Mutex >
void folly::sync_tests::testTimedShared ()
 
template<class Mutex >
void folly::sync_tests::testTimedSynchronized ()
 
template<class Mutex >
void folly::sync_tests::testTimedSynchronizedWithConst ()
 
template<class Mutex >
void folly::sync_tests::testConstCopy ()
 
template<class Mutex >
void folly::sync_tests::testInPlaceConstruction ()
 
template<class Mutex >
void folly::sync_tests::testExchange ()