Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for acquired (0.22 sec)

  1. tensorflow/compiler/jit/variable_info_util.cc

        if (prev == mu) {
          // It is an error to pass the same variable handle twice to the same XLA
          // cluster because we would not handle variable updates correctly.  Any
          // locks we have already acquired will be released when the VariableInfo
          // objects are destroyed.
          // TODO(b/128495870) Add support for passing aliased resource variables.
          return errors::Unimplemented("Duplicate variable passed to XLA cluster");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

        public void waitForCompletion() throws MultipleBuildOperationFailures {
            signalNoMoreWork();
    
            // Use this thread to process any work - this allows work to be executed using the
            // worker lease acquired by this thread even if the executor thread pool is full of
            // workers from other queues.  In other words, it ensures that all worker leases
            // are being utilized, regardless of the bounds of the thread pool.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. src/sync/cond_test.go

    			cond.Wait()
    			m.Unlock()
    
    			ch <- struct{}{}
    		}()
    
    		<-ch
    		m.Lock()
    		m.Unlock()
    
    		// We know that the waiter is in the cond.Wait() call because we
    		// synchronized with it, then acquired/released the mutex it was
    		// holding when we synchronized.
    		//
    		// Start two goroutines that will race: one will broadcast on
    		// the cond var, the other will wait on it.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 18:52:42 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            when:
            contendedAction.accept({} as FileLockReleasedSignal)
    
            then:
            1 * lock.close()
        }
    
        def "file access requires acquired lock"() {
            def runnable = Mock(Runnable)
            def access = newAccess(mode)
    
            given:
            lockManager.lock(lockFile, mode(Exclusive), "<display-name>", "", _ as Consumer) >> lock
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/runtime/tracestatus.go

    	nextGen := traceNextGen(gen)
    	r.seq[nextGen%2] = 0
    	r.statusTraced[nextGen%3].Store(0)
    }
    
    // statusWasTraced returns true if the sched resource's status was already acquired for tracing.
    func (r *traceSchedResourceState) statusWasTraced(gen uintptr) bool {
    	return r.statusTraced[gen%3].Load() != 0
    }
    
    // setStatusTraced indicates that the resource's status was already traced, for example
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/runtime/lockrank.go

    		return "BAD RANK"
    	}
    	return lockNames[rank]
    }
    
    // lockPartialOrder is the transitive closure of the lock rank graph.
    // An entry for rank X lists all of the ranks that can already be held
    // when rank X is acquired.
    //
    // Lock ranks that allow self-cycles list themselves.
    var lockPartialOrder [][]lockRank = [][]lockRank{
    	lockRankSysmon:          {},
    	lockRankScavenge:        {lockRankSysmon},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/sync/rwmutex.go

    	// Wait for active readers.
    	if r != 0 && rw.readerWait.Add(r) != 0 {
    		runtime_SemacquireRWMutex(&rw.writerSem, false, 0)
    	}
    	if race.Enabled {
    		race.Enable()
    		race.Acquire(unsafe.Pointer(&rw.readerSem))
    		race.Acquire(unsafe.Pointer(&rw.writerSem))
    	}
    }
    
    // TryLock tries to lock rw for writing and reports whether it succeeded.
    //
    // Note that while correct uses of TryLock do exist, they are rare,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

                coordinationService.notifyStateChange()
            }
    
            then:
            1 * listener.execute(lock)
            0 * listener._
        }
    
        def "does not notify listener when lock is acquired and released in single action"() {
            def listener = Mock(Action)
            coordinationService.addLockReleaseListener(listener)
    
            def lock = resourceLock("lock1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

        // will retain references, but this is more obviously correct.)
        core::ScopedUnref xla_device_compiler_ref(xla_device_compiler);
        core::ScopedUnref profiler_ref(profiler);
    
        // Locks are acquired again when populating the `ctx` outputs.
        OP_REQUIRES_OK(
            ctx, Run(variable_args, result, xla_device_compiler, executable, ctx));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    	return "", nil
    }
    
    // exclusiveWrite attempts to create filename exclusively, and if successful,
    // writes content to the resulting file handle.
    //
    // It returns a boolean indicating whether the exclusive handle was acquired,
    // and an error indicating whether the operation succeeded.
    // If the file already exists, exclusiveWrite returns (false, nil).
    func exclusiveWrite(filename string, content []byte) (_ bool, rerr error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top