Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,597 for held (0.1 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheBuilder.java

         * cross-process access.
         */
        CacheBuilder withInitializer(Consumer<? super PersistentCache> initializer);
    
        /**
         * Specifies an action to execute when the cache needs to be cleaned up. An exclusive lock is held while the cleanup is executing, to prevent cross-process access.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccess.java

    import static org.gradle.cache.FileLockManager.LockMode.Shared;
    
    /**
     * A {@link CrossProcessCacheAccess} implementation used when a cache is opened with a shared lock that is held until the cache is closed. The contract for {@link CrossProcessCacheAccess} requires an
     * exclusive lock be held, so this implementation simply throws 'not supported' exceptions for these methods.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/sync/rwmutex.go

    // A RWMutex is a reader/writer mutual exclusion lock.
    // The lock can be held by an arbitrary number of readers or a single writer.
    // The zero value for a RWMutex is an unlocked mutex.
    //
    // A RWMutex must not be copied after first use.
    //
    // If any goroutine calls [RWMutex.Lock] while the lock is already held by
    // one or more readers, concurrent calls to [RWMutex.RLock] will block until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/runtime/tracecpu.go

    	trace.cpuLogWrite[1].Store(trace.cpuLogRead[1])
    }
    
    // traceStartReadCPU creates a goroutine to start reading CPU profile
    // data into an active trace.
    //
    // traceAdvanceSema must be held.
    func traceStartReadCPU() {
    	if !traceEnabled() {
    		throw("traceStartReadCPU called with trace disabled")
    	}
    	// Spin up the logger goroutine.
    	trace.cpuSleep = newWakeableSleep()
    	done := make(chan struct{}, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    	defer l.mutex.Unlock()
    	var lri []lockRequesterInfo
    
    	resource := args.Resources[0]
    	if lri, reply = l.lockMap[resource]; !reply {
    		// No lock is held on the given name
    		return true, nil
    	}
    	if isWriteLock(lri) {
    		// A write-lock is held, cannot release a read lock
    		return false, fmt.Errorf("RUnlock attempted on a write locked entity: %s", resource)
    	}
    	l.removeEntry(resource, args, &lri)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TrackingHttpHandler.java

    interface TrackingHttpHandler {
        /**
         * Selects a response producer to handle the given request.
         *
         * This method is called under the state lock. The handler is _not_ called under the state lock. That is, the lock is held only while selecting how to handle the request.
         *
         * This method may block until the request is ready to be handled, but must do so using a condition created from the state lock.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/runtime/tracebuf.go

    type traceBufQueue struct {
    	head, tail *traceBuf
    }
    
    // push queues buf into queue of buffers.
    func (q *traceBufQueue) push(buf *traceBuf) {
    	buf.link = nil
    	if q.head == nil {
    		q.head = buf
    	} else {
    		q.tail.link = buf
    	}
    	q.tail = buf
    }
    
    // pop dequeues from the queue of buffers.
    func (q *traceBufQueue) pop() *traceBuf {
    	buf := q.head
    	if buf == nil {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * request bodies.
       */
      open fun peek(): MockResponse {
        return MockResponse(socketPolicy = KeepOpen)
      }
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
       * should return immediately. Responses returned after shutdown will not be transmitted: their
       * socket connections have already been closed.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/runtime/traceexp.go

    	traceWriter
    	exp traceExperiment
    }
    
    // unsafeTraceExpWriter produces a traceExpWriter that doesn't lock the trace.
    //
    // It should only be used in contexts where either:
    // - Another traceLocker is held.
    // - trace.gen is prevented from advancing.
    //
    // buf may be nil.
    func unsafeTraceExpWriter(gen uintptr, buf *traceBuf, exp traceExperiment) traceExpWriter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockCoordinationService.java

         */
        void notifyStateChange();
    
        void assertHasStateLock();
    
        /**
         * Adds a listener that is notified when a lock is released. Called while the state lock is held.
         */
        void addLockReleaseListener(Action<ResourceLock> listener);
    
        void removeLockReleaseListener(Action<ResourceLock> listener);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top