Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WaitForStopThread (0.23 sec)

  1. tensorflow/cc/training/coordinator_test.cc

    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    #include "tensorflow/core/public/session.h"
    
    namespace tensorflow {
    namespace {
    
    using error::Code;
    
    void WaitForStopThread(Coordinator* coord, Notification* about_to_wait,
                           Notification* done) {
      about_to_wait->Notify();
      coord->WaitForStop();
      done->Notify();
    }
    
    TEST(CoordinatorTest, TestStopAndWaitOnStop) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 23 09:10:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top