Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for thread1 (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/mgc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Garbage collector (GC).
    //
    // The GC runs concurrently with mutator threads, is type accurate (aka precise), allows multiple
    // GC thread to run in parallel. It is a concurrent mark and sweep that uses a write barrier. It is
    // non-generational and non-compacting. Allocation is done using size segregated per P allocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                //
                // We need an executor that will not block.
                // We can't use work stealing, as we are building a graph
                // and this could lead to cycles where a thread waits for
                // a task to finish, then execute another one which waits
                // for the initial task...
                // In order to work around that problem, we override the
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            private ClassDetails getDetailsForClass(Class<?> type) {
                ClassDetails classDetails = classes.get(type);
                if (classDetails == null) {
                    // Multiple thread may calculate this at the same time, which is ok. All threads should end up with the same details object
                    ClassDetails newDetails = new ClassDetails(type);
                    classDetails = classes.putIfAbsent(type, newDetails);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

        for (Map.Entry<? extends V, ? extends K> entry : source.entries()) {
          dest.put(entry.getValue(), entry.getKey());
        }
        return dest;
      }
    
      /**
       * Returns a synchronized (thread-safe) multimap backed by the specified multimap. In order to
       * guarantee serial access, it is critical that <b>all</b> access to the backing multimap is
       * accomplished through the returned multimap.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                    // Service must be thread-safe
                    synchronized void reset() {
                        value = parameters.initial.get()
                        println("service: value is \${value}")
                    }
    
                    // Service must be thread-safe
                    synchronized int increment() {
                        value++
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
Back to top