Commit 2bd32e7b authored by Michael Park's avatar Michael Park Committed by Facebook Github Bot

Changed the accessibility of `ThreadPoolExecutor`'s protected virtual functions.

Summary: The virtual functions marked `protected` in `ThreadPoolExecutor` should be marked `protected` in `EDFThreadPoolExecutor`.

Reviewed By: yfeldblum

Differential Revision: D15008767

fbshipit-source-id: 6bad51068a8b64f623643e0d0deb684ed6e2be22
parent de984b5a
......@@ -57,11 +57,12 @@ class EDFThreadPoolExecutor : public SoftRealTimeExecutor,
folly::Executor::KeepAlive<> deadlineExecutor(uint64_t deadline);
private:
protected:
void threadRun(ThreadPtr thread) override;
void stopThreads(std::size_t numThreads) override;
std::size_t getPendingTaskCountImpl() const override;
private:
bool shouldStop();
std::shared_ptr<Task> take();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment