#include <folly/executors/StrandExecutor.h>
#include <glog/logging.h>
#include <folly/ExceptionString.h>
#include <folly/executors/GlobalExecutor.h>
namespace folly {
class StrandContext::Task { … };
std::shared_ptr<StrandContext> StrandContext::create() { … }
void StrandContext::add(Func func, Executor::KeepAlive<> executor) { … }
void StrandContext::addWithPriority(
Func func, Executor::KeepAlive<> executor, int8_t priority) { … }
void StrandContext::addImpl(QueueItem&& item) { … }
void StrandContext::executeNext(
std::shared_ptr<StrandContext> thisPtr) noexcept { … }
void StrandContext::dispatchFrontQueueItem(
std::shared_ptr<StrandContext> thisPtr) noexcept { … }
Executor::KeepAlive<StrandExecutor> StrandExecutor::create() { … }
Executor::KeepAlive<StrandExecutor> StrandExecutor::create(
std::shared_ptr<StrandContext> context) { … }
Executor::KeepAlive<StrandExecutor> StrandExecutor::create(
Executor::KeepAlive<> parentExecutor) { … }
Executor::KeepAlive<StrandExecutor> StrandExecutor::create(
std::shared_ptr<StrandContext> context,
Executor::KeepAlive<> parentExecutor) { … }
void StrandExecutor::add(Func f) { … }
void StrandExecutor::addWithPriority(Func f, int8_t priority) { … }
uint8_t StrandExecutor::getNumPriorities() const { … }
bool StrandExecutor::keepAliveAcquire() noexcept { … }
void StrandExecutor::keepAliveRelease() noexcept { … }
StrandExecutor::StrandExecutor(
std::shared_ptr<StrandContext> context,
Executor::KeepAlive<> parent) noexcept
: … { … }
}