Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for thread1 (0.27 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    //
    // An object managed for a thread by a ThreadLocal instance is deleted
    // when the thread exits.  Or, if the ThreadLocal instance dies in
    // that thread, when the ThreadLocal dies.  It's the user's
    // responsibility to ensure that all other threads using a ThreadLocal
    // have exited when it dies, or the per-thread objects for those
    // threads will not be deleted.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    //
    // An object managed for a thread by a ThreadLocal instance is deleted
    // when the thread exits.  Or, if the ThreadLocal instance dies in
    // that thread, when the ThreadLocal dies.  It's the user's
    // responsibility to ensure that all other threads using a ThreadLocal
    // have exited when it dies, or the per-thread objects for those
    // threads will not be deleted.
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
            thread = null;
            LockSupport.unpark(w);
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
            thread = null;
            LockSupport.unpark(w);
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  5. src/internal/trace/order.go

    	G GoID
    	P ProcID
    	M ThreadID
    }
    
    // validateCtx ensures that ctx conforms to some reqs, returning an error if
    // it doesn't.
    func validateCtx(ctx schedCtx, reqs event.SchedReqs) error {
    	// Check thread requirements.
    	if reqs.Thread == event.MustHave && ctx.M == NoThread {
    		return fmt.Errorf("expected a thread but didn't have one")
    	} else if reqs.Thread == event.MustNotHave && ctx.M != NoThread {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. src/runtime/asm_amd64.s

    	// If the m on entry was nil, we called needm above to borrow an m,
    	// 1. for the duration of the call on non-pthread platforms,
    	// 2. or the duration of the C thread alive on pthread platforms.
    	// If the m on entry wasn't nil,
    	// 1. the thread might be a Go thread,
    	// 2. or it wasn't the first call from a C thread on pthread platforms,
    	//    since then we skip dropm to reuse the m in the first call.
    	MOVQ	savedm-8(SP), BX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        throw new IllegalArgumentException("Invalid threads core multiplier value: '" + threadConfiguration
                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
       * usually have much noticeable impact. A value of one permits only one thread to modify the cache
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. src/os/os_test.go

    	case "wasip1":
    		t.Skip("skipping on wasip1; no support for os.Pipe")
    	}
    
    	threads := 100
    
    	// OpenBSD has a low default for max number of files.
    	if runtime.GOOS == "openbsd" {
    		threads = 50
    	}
    
    	r := make([]*File, threads)
    	w := make([]*File, threads)
    	for i := 0; i < threads; i++ {
    		rp, wp, err := Pipe()
    		if err != nil {
    			for j := 0; j < i; j++ {
    				r[j].Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top