Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsQueueClosed (0.09 sec)

  1. tensorflow/cc/training/queue_runner.cc

      thread_pool_.reset();
      mutex_lock l(mu_);
      return status_;
    }
    
    void QueueRunner::UpdateStatus(const Status& status) {
      {
        mutex_lock l(mu_);
        if (!status_.ok() || status.ok() || IsQueueClosed(status)) {
          return;
        }
        status_ = status;
      }
      if (coord_) {
        coord_->ReportStatus(status);
      }
      mutex_lock l(cb_mu_);
      for (auto& cb : callbacks_) {
        cb(status);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top