|
proxygen
|
#include <thread>#include <folly/synchronization/ParkingLot.h>#include <folly/portability/GTest.h>#include <folly/synchronization/Baton.h>Go to the source code of this file.
Classes | |
| class | WaitableMutex |
Functions | |
| TEST (ParkingLot, multilot) | |
| TEST (ParkingLot, LargeWord) | |
| TEST (ParkingLot, WaitableMutexTest) | |
| TEST | ( | ParkingLot | , |
| multilot | |||
| ) |
Definition at line 26 of file ParkingLotTest.cpp.
References count, folly::data(), EXPECT_EQ, large, folly::Baton< MayBlock, Atom >::post(), folly::RemoveContinue, small, and folly::Baton< MayBlock, Atom >::wait().
| TEST | ( | ParkingLot | , |
| LargeWord | |||
| ) |
Definition at line 64 of file ParkingLotTest.cpp.
References lot, and folly::ParkingLot< Data >::park().
| TEST | ( | ParkingLot | , |
| WaitableMutexTest | |||
| ) |
Definition at line 106 of file ParkingLotTest.cpp.
References g(), folly::kIsSanitizeThread, folly::futures::sleep(), folly::pushmi::detail::t, and WaitableMutex::wait().