Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mutex_lock (0.1 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      return absl::OkStatus();
    }
    
    // Tracks monotonic sequence numbers for graphs.
    class ClusterSequenceNumberGenerator {
     public:
      void Reset() {
        mutex_lock lock(mu_);
        sequence_numbers_.clear();
      }
    
      int64 GetNext(uint64 key) {
        mutex_lock lock(mu_);
        return sequence_numbers_[key]++;
      }
    
      static ClusterSequenceNumberGenerator& Global() {
        static ClusterSequenceNumberGenerator* gen =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

      GTEST_DISALLOW_COPY_AND_ASSIGN_(ThreadWithParam);
    };
    
    // MutexBase and Mutex implement mutex on pthreads-based platforms. They
    // are used in conjunction with class MutexLock:
    //
    //   Mutex mutex;
    //   ...
    //   MutexLock lock(&mutex);  // Acquires the mutex and releases it at the end
    //                            // of the current scope.
    //
    // MutexBase implements behavior for both statically and dynamically
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
Back to top