| 1125 | class GatingTask::Impl : public std::enable_shared_from_this<GatingTask::Impl> { |
| 1126 | public: |
| 1127 | explicit Impl(double timeout_seconds) |
| 1128 | : timeout_seconds_(timeout_seconds), status_(), unlocked_(false) { |
| 1129 | unlocked_future_ = Future<>::Make(); |
| 1130 | } |
| 1131 | |
| 1132 | ~Impl() { |
| 1133 | if (num_running_ != num_launched_) { |