21 #include <glog/logging.h> 26 throw std::runtime_error(
27 "addWithPriority() is not implemented for this Executor");
35 LOG(
FATAL) << __func__ <<
"() should not be called for folly::Executor types " 36 <<
"which do not override keepAliveAcquire()";
—— Concurrent Priority Queue Implementation ——
virtual void addWithPriority(Func, int8_t priority)
virtual bool keepAliveAcquire()
virtual void keepAliveRelease()