Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 587 for blocked (0.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        // after some period of time the runner thread should become blocked on the task because it is
        // waiting for the slow interrupting thread to complete Thread.interrupt
        awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class);
    
        Blocker blocker = (Blocker) LockSupport.getBlocker(runner);
        Thread owner = blocker.getOwner();
        assertThat(owner).isSameInstanceAs(interrupter);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        // after some period of time the runner thread should become blocked on the task because it is
        // waiting for the slow interrupting thread to complete Thread.interrupt
        awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class);
    
        Blocker blocker = (Blocker) LockSupport.getBlocker(runner);
        Thread owner = blocker.getOwner();
        assertThat(owner).isSameInstanceAs(interrupter);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. releasenotes/notes/48147.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
    - 48112
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 18:44:58 UTC 2024
    - 243 bytes
    - Viewed (0)
  4. src/crypto/tls/quic.go

    	defer c.handshakeMutex.Lock()
    	// Send on blockedc to notify the QUICConn that the handshake is blocked.
    	// Exported methods of QUICConn wait for the handshake to become blocked
    	// before returning to the user.
    	select {
    	case c.quic.blockedc <- struct{}{}:
    	case <-c.quic.cancelc:
    		return c.sendAlertLocked(alertCloseNotify)
    	}
    	// The QUICConn reads from signalc to notify us that the handshake may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/runtime/netpoll_windows.go

    	}
    	n := len(entries) / int(gomaxprocs)
    	if n < 8 {
    		n = 8
    	}
    	if delay != 0 {
    		mp.blocked = true
    	}
    	if stdcall6(_GetQueuedCompletionStatusEx, iocphandle, uintptr(unsafe.Pointer(&entries[0])), uintptr(n), uintptr(unsafe.Pointer(&n)), uintptr(wait), 0) == 0 {
    		mp.blocked = false
    		errno := getlasterror()
    		if errno == _WAIT_TIMEOUT {
    			return gList{}, 0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/time.go

    	if !t.isChan || t.blocked == 0 {
    		badTimer()
    	}
    	t.blocked--
    	if t.blocked == 0 && t.state&timerHeaped != 0 && t.state&timerZombie == 0 {
    		// Last goroutine that was blocked on this timer.
    		// Mark for removal from heap but do not clear t.when,
    		// so that we know what time it is still meant to trigger.
    		t.state |= timerZombie
    		t.ts.zombies.Add(1)
    	}
    	t.unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. src/runtime/crash_unix_test.go

    		t.Fatal("subprocess failed; output:\n", string(buf))
    	}
    
    	// The child blockers print "x\n" and then block on a lock. Receiving
    	// those bytes only indicates that the child is _about to block_. Since
    	// we don't have a way to know when it is fully blocked, sleep a bit to
    	// make us less likely to lose the race and signal before the child
    	// blocks.
    	time.Sleep(100 * time.Millisecond)
    
    	// Send SIGQUIT.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. src/net/mptcpsock_linux.go

    	// system. But also fallback in case of any error with MPTCP.
    	//
    	// Possible MPTCP specific error: ENOPROTOOPT (sysctl net.mptcp.enabled=0)
    	// But just in case MPTCP is blocked differently (SELinux, etc.), just
    	// retry with "plain" TCP.
    	return sd.dialTCP(ctx, laddr, raddr)
    }
    
    func (sl *sysListener) listenMPTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 18:48:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    		// is safe.
    		if ii.combinesBackward() {
    			cccB := b[k-1].ccc
    			cccC := ii.ccc
    			blocked := false // b[i] blocked by starter or greater or equal CCC?
    			if cccB == 0 {
    				s = k - 1
    			} else {
    				blocked = s != k-1 && cccB >= cccC
    			}
    			if !blocked {
    				combined := combine(rb.runeAt(s), rb.runeAt(i))
    				if combined != 0 {
    					rb.assignRune(s, combined)
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/norm/composition.go

    		// is safe.
    		if ii.combinesBackward() {
    			cccB := b[k-1].ccc
    			cccC := ii.ccc
    			blocked := false // b[i] blocked by starter or greater or equal CCC?
    			if cccB == 0 {
    				s = k - 1
    			} else {
    				blocked = s != k-1 && cccB >= cccC
    			}
    			if !blocked {
    				combined := combine(rb.runeAt(s), rb.runeAt(i))
    				if combined != 0 {
    					rb.assignRune(s, combined)
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
Back to top