Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for defBlock (0.13 sec)

  1. pkg/scheduler/scheduler.go

    	// from the SchedulingQueue.
    	// If there are no new pods to schedule, it will be hanging there
    	// and if done in this goroutine it will be blocking closing
    	// SchedulingQueue, in effect causing a deadlock on shutdown.
    	go wait.UntilWithContext(ctx, sched.ScheduleOne, 0)
    
    	<-ctx.Done()
    	sched.SchedulingQueue.Close()
    
    	// If the plugins satisfy the io.Closer interface, they are closed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    // Issue 21874
    func TestTickerStopWithDirectInitialization(t *testing.T) {
    	c := make(chan Time)
    	tk := &Ticker{C: c}
    	tk.Stop()
    }
    
    // Test that a bug tearing down a ticker has been fixed. This routine should not deadlock.
    func TestTeardown(t *testing.T) {
    	t.Parallel()
    
    	Delta := 100 * Millisecond
    	if testing.Short() {
    		Delta = 20 * Millisecond
    	}
    	for range 3 {
    		ticker := NewTicker(Delta)
    		<-ticker.C
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.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)
  4. tensorflow/compiler/jit/xla_device.cc

        host_to_device_stream = host_to_device_stream_;
        device_to_device_streams = device_to_device_streams_;
        // The data transfer requests from device to host could arrive out of order,
        // so a single stream would cause deadlock. For this case,
        // xla_device_context would borrow a stream for each transfer request.
        device_to_host_stream = nullptr;
      } else {
        host_to_device_stream = stream_;
        device_to_host_stream = stream_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.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_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)
  7. 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)
  8. src/syscall/syscall_linux_test.go

    	}
    }
    
    // TestAllThreadsSyscallBlockedSyscall confirms that AllThreadsSyscall
    // can interrupt threads in long-running system calls. This test will
    // deadlock if this doesn't work correctly.
    func TestAllThreadsSyscallBlockedSyscall(t *testing.T) {
    	if _, _, err := syscall.AllThreadsSyscall(syscall.SYS_PRCTL, PR_SET_KEEPCAPS, 0, 0); err == syscall.ENOTSUP {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    // "runtime.blockOnSystemStackInternal".
    func BlockOnSystemStack() {
    	systemstack(blockOnSystemStackInternal)
    }
    
    func blockOnSystemStackInternal() {
    	print("x\n")
    	lock(&deadlock)
    	lock(&deadlock)
    }
    
    type RWMutex struct {
    	rw rwmutex
    }
    
    func (rw *RWMutex) Init() {
    	rw.rw.init(lockRankTestR, lockRankTestRInternal, lockRankTestW)
    }
    
    func (rw *RWMutex) RLock() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/runtime/iface.go

    	// typically because this is called while panicking.
    	// Crash reliably, rather than only when we need to grow
    	// the hash table.
    	if getg().m.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    
    	t := itabTable
    	if t.count >= 3*(t.size/4) { // 75% load factor
    		// Grow hash table.
    		// t2 = new(itabTableType) + some additional entries
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top