Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 271 for defBlock (0.12 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

      /**
       * Returns the stripes that correspond to the passed objects, in ascending (as per {@link
       * #getAt(int)}) order. Thus, threads that use the stripes in the order returned by this method
       * are guaranteed to not deadlock each other.
       *
       * <p>It should be noted that using a {@code Striped<L>} with relatively few stripes, and {@code
       * bulkGet(keys)} with a relative large number of keys can cause an excessive number of shared
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. src/runtime/debuglog.go

    }
    
    // printDebugLog prints the debug log.
    func printDebugLog() {
    	if !dlogEnabled {
    		return
    	}
    
    	// This function should not panic or throw since it is used in
    	// the fatal panic path and this may deadlock.
    
    	printlock()
    
    	// Get the list of all debug logs.
    	allp := (*uintptr)(unsafe.Pointer(&allDloggers))
    	all := (*dlogger)(unsafe.Pointer(atomic.Loaduintptr(allp)))
    
    	// Count the logs.
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
      // (as in the case of ConstOp kernel creation on GPU, which involves copying a
      // CPU tensor to GPU).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * This covers a bug where if a listener was installed that would stop the manager if any service
       * fails and something failed during startup before service.start was called on all the services,
       * then awaitStopped would deadlock due to an IllegalStateException that was thrown when trying to
       * stop the timer(!).
       */
      public void testFailStart_stopOthers() throws TimeoutException {
        Service a = new FailStartService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    	{39, "ENOTEMPTY", "directory not empty"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go

    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    	{33, "EDOM", "numerical argument out of domain"},
    	{34, "ERANGE", "numerical result out of range"},
    	{35, "EDEADLK", "resource deadlock avoided"},
    	{36, "ENAMETOOLONG", "file name too long"},
    	{37, "ENOLCK", "no locks available"},
    	{38, "ENOSYS", "function not implemented"},
    	{39, "ENOTEMPTY", "directory not empty"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

                    //
                    // Force access to the state of the owner, regardless of whether any other thread has access. This is because attempting to acquire a lock for a project may deadlock
                    // when performed from a worker thread (see DefaultBuildOperationQueue.waitForCompletion() which intentionally does not release the project locks while waiting)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * This covers a bug where if a listener was installed that would stop the manager if any service
       * fails and something failed during startup before service.start was called on all the services,
       * then awaitStopped would deadlock due to an IllegalStateException that was thrown when trying to
       * stop the timer(!).
       */
      public void testFailStart_stopOthers() throws TimeoutException {
        Service a = new FailStartService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    	if db.Driver() != fdriver {
    		t.Fatalf("OpenDB should return the driver of the Connector")
    	}
    }
    
    func TestDriverPanic(t *testing.T) {
    	// Test that if driver panics, database/sql does not deadlock.
    	db, err := Open("test", fakeDBName)
    	if err != nil {
    		t.Fatalf("Open: %v", err)
    	}
    	expectPanic := func(name string, f func()) {
    		defer func() {
    			err := recover()
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	mnext        int64    // number of m's that have been created and next M ID
    	maxmcount    int32    // maximum number of m's allowed (or die)
    	nmsys        int32    // number of system m's not counted for deadlock
    	nmfreed      int64    // cumulative number of freed m's
    
    	ngsys atomic.Int32 // number of system goroutines
    
    	pidle        puintptr // idle p's
    	npidle       atomic.Int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top