Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for semacquire (0.23 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerThreadRegistry.java

        /**
         * Runs the given action as a worker. While the action is running, the thread can acquire resource locks.
         * A worker lease is also granted to the thread. The thread can release this if it needs to, but should reacquire
         * the lease prior to doing any meaningful work.
         *
         * This method is reentrant so that a thread can call this method from the given action.
         *
         * This method blocks until a worker lease is available.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go

    Michael Anthony Knyszek <******@****.***> 1716583527 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 592 bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/timer/queue.go

    }
    
    func (q *Queue) resetTimer() {
    	// Below is a separate function to limit the scope of the lock.
    	// We don't want to lock when we modify the timer in case it causes
    	// an immediate callback, which would reacquire the lock.
    	needReset, resetDuration := func() (bool, time.Duration) {
    		q.mutex.Lock()
    		defer q.mutex.Unlock()
    
    		if q.stopping {
    			// Ignore the event, since we're already shutting down.
    			return false, 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy

                    }
                }
            }
    
            then:
            instant.worker1Finished > instant.unlocked
        }
    
        def "releases worker lease when replacing locks and need to block to reacquire an old lock"() {
            def registry = workerLeaseService(1)
            def resource1 = resourceLock("one")
            def resource2 = resourceLock("two")
    
            when:
            async {
                start {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.go

    Michael Anthony Knyszek <******@****.***> 1716583527 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc-bare-m.go

    Michael Anthony Knyszek <******@****.***> 1716583527 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 999 bytes
    - Viewed (0)
  8. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 556 bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc-bare-m.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 529 bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 493 bytes
    - Viewed (0)
Back to top