#include <folly/io/async/TimeoutManager.h>
#include <boost/intrusive/list.hpp>
#include <glog/logging.h>
#include <folly/Chrono.h>
#include <folly/Exception.h>
#include <folly/Memory.h>
#include <folly/io/async/AsyncTimeout.h>
namespace folly {
struct TimeoutManager::CobTimeouts { … };
TimeoutManager::TimeoutManager()
: … { … }
bool TimeoutManager::scheduleTimeoutHighRes(
AsyncTimeout* obj, timeout_type_high_res timeout) { … }
void TimeoutManager::runAfterDelay(
Func cob, uint32_t milliseconds, InternalEnum internal) { … }
bool TimeoutManager::tryRunAfterDelay(
Func cob, uint32_t milliseconds, InternalEnum internal) { … }
void TimeoutManager::clearCobTimeouts() { … }
TimeoutManager::~TimeoutManager() { … }
}