Remove GetTid() since it is not used.

PiperOrigin-RevId: 393453493
This commit is contained in:
hai007
2021-08-27 16:50:05 -07:00
committed by Copybara-Service
parent ad82c4c489
commit 8e2f2da45d
6 changed files with 0 additions and 21 deletions
@@ -47,11 +47,6 @@ class MultiThreadExecutor : public api::SubmittableExecutor {
void Shutdown() override { DoShutdown(); }
~MultiThreadExecutor() override { DoShutdown(); }
int GetTid(int index) const override {
const auto* thread = thread_pool_.thread(index);
return thread ? thread->tid() : 0;
}
void ScheduleAfter(absl::Duration delay, Runnable&& runnable) {
if (shutdown_) return;
thread_pool_.ScheduleAt(absl::Now() + delay, std::move(runnable));