Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 734 for thread1 (0.28 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

        def "close fails when action is currently running in another thread"() {
            def lock = Mock(FileLock)
    
            when:
            async {
                start {
                    cacheAccess.withFileLock {
                        instant.acquired
                        thread.blockUntil.closed
                    }
                }
                start {
                    thread.blockUntil.acquired
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      };
      const int block_size = 8;
      tf_gcs_filesystem::RamFileBlockCache cache(
          block_size, 2 * callers * block_size, 0, fetcher);
      std::vector<std::unique_ptr<Thread>> threads;
      threads.reserve(callers);
      for (int i = 0; i < callers; i++) {
        threads.emplace_back(
            Env::Default()->StartThread({}, "caller", [block_size, &cache, i]() {
              std::vector<char> out;
              TF_EXPECT_OK(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  3. src/runtime/asm_mips64x.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.
    	MOVV	savedm-8(SP), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/types.go

    	return Load(&u.value)
    }
    
    // LoadAcquire is a partially unsynchronized version
    // of Load that relaxes ordering constraints. Other threads
    // may observe operations that precede this operation to
    // occur after it, but no operation that occurs after it
    // on this thread can be observed to occur before it.
    //
    // WARNING: Use sparingly and with great care.
    //
    //go:nosplit
    func (u *Uint32) LoadAcquire() uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  @Override
                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/runtime/asm_riscv64.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.
    	MOV	savedm-8(SP), X5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/TimeoutTest.java

                    Set<Thread> threadsAfter = new HashSet<>(Thread.getAllStackTraces().keySet());
                    threadsAfter.removeAll(threadsBefore);
    
                    Set<Thread> leaked = new HashSet<>();
                    for ( Thread t : threadsAfter ) {
                        if ( t.getName().startsWith("Transport") ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  8. src/os/signal/doc.go

    the SIGPROF signal in particular.
    
    The non-Go code should not change the signal mask on any threads
    created by the Go runtime. If the non-Go code starts new threads
    itself, those threads may set the signal mask as they please.
    
    If the non-Go code starts a new thread, changes the signal mask, and
    then invokes a Go function in that thread, the Go runtime will
    automatically unblock certain signals: the synchronous signals,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

                }
              }
            });
        awaitUninterruptibly(enteredLatch);
      }
    
      @CanIgnoreReturnValue
      static Thread startThread(Runnable runnable) {
        Thread thread = new Thread(runnable);
        thread.setDaemon(true);
        thread.start();
        return thread;
      }
    
      /**
       * Generates a test case verifying that calling any enterXxx, tryEnterXxx, or waitForXxx method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. src/runtime/crash_cgo_test.go

    		t.Skipf("skipping on %s/%s because race detector not supported", runtime.GOOS, runtime.GOARCH)
    	}
    	if runtime.GOOS == "windows" {
    		t.Skipf("skipping: test requires pthread support")
    		// TODO: Can this test be rewritten to use the C11 thread API instead?
    	}
    
    	testenv.MustHaveGoRun(t)
    
    	// This test requires building various packages with -race, so
    	// it's somewhat slow.
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top