| 189 | } |
| 190 | |
| 191 | ThreadPoolToken::~ThreadPoolToken() { |
| 192 | Shutdown(); |
| 193 | pool_->ReleaseToken(this); |
| 194 | } |
| 195 | |
| 196 | Status ThreadPoolToken::Submit(std::function<void()> f) { |
| 197 | return pool_->DoSubmit(std::move(f), this); |
nothing calls this directly
no test coverage detected