Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 255 for Sleeping (0.13 sec)

  1. src/os/signal/signal_test.go

    // have been delivered by the OS.
    func quiesce() {
    	// The kernel will deliver a signal as a thread returns
    	// from a syscall. If the only active thread is sleeping,
    	// and the system is busy, the kernel may not get around
    	// to waking up a thread to catch the signal.
    	// We try splitting up the sleep to give the kernel
    	// many chances to deliver the signal.
    	start := time.Now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  2. src/net/timeout_test.go

    				if err == nil && timeout >= 0 && nDeadlineExceeded == 0 {
    					// If the timeout is nonnegative, some number of WriteTo calls may
    					// succeed before the timeout takes effect.
    					t.Logf("WriteTo succeeded; sleeping %v", timeout/3)
    					time.Sleep(timeout / 3)
    					continue
    				}
    				if isENOBUFS(err) {
    					t.Logf("WriteTo: %v", err)
    					// We're looking for a deadline exceeded error, but if the kernel's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. src/cmd/vendor/rsc.io/markdown/emoji.go

    	"skull_and_crossbones":                 "\u2620\ufe0f",
    	"skunk":                                "\U0001f9a8",
    	"sled":                                 "\U0001f6f7",
    	"sleeping":                             "\U0001f634",
    	"sleeping_bed":                         "\U0001f6cc",
    	"sleepy":                               "\U0001f62a",
    	"slightly_frowning_face":               "\U0001f641",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 107.7K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    				return
    			}
    			if gotState != StateConnecting {
    				// Don't print error on first attempt, and after that only once per hour.
    				gridLogOnceIf(c.ctx, fmt.Errorf("grid: %s re-connecting to %s: %w (%T) Sleeping %v (%v)", c.Local, toDial, err, err, sleep, gotState), toDial)
    			}
    			c.updateState(StateConnectionError)
    			time.Sleep(sleep)
    		}
    		if err != nil {
    			retry(err)
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    }
    
    type schedt struct {
    	goidgen   atomic.Uint64
    	lastpoll  atomic.Int64 // time of last network poll, 0 if currently polling
    	pollUntil atomic.Int64 // time to which current poll is sleeping
    
    	lock mutex
    
    	// When increasing nmidle, nmidlelocked, nmsys, or nmfreed, be
    	// sure to call checkdead().
    
    	midle        muintptr // idle m's waiting for work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    	TASKSTATS_CMD_ATTR_PID                = 0x1
    	TASKSTATS_CMD_ATTR_TGID               = 0x2
    	TASKSTATS_CMD_ATTR_REGISTER_CPUMASK   = 0x3
    	TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
    )
    
    type CGroupStats struct {
    	Sleeping        uint64
    	Running         uint64
    	Stopped         uint64
    	Uninterruptible uint64
    	Io_wait         uint64
    }
    
    const (
    	CGROUPSTATS_CMD_UNSPEC        = 0x3
    	CGROUPSTATS_CMD_GET           = 0x4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  7. src/runtime/proc.go

    		unlock(&sched.lock)
    		gcController.removeIdleMarkWorker()
    		return nil, nil
    	}
    
    	unlock(&sched.lock)
    
    	return pp, node.gp.ptr()
    }
    
    // wakeNetPoller wakes up the thread sleeping in the network poller if it isn't
    // going to wake up before the when argument; or it wakes an idle P to service
    // timers and the network poller if there isn't one already.
    func wakeNetPoller(when int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. src/net/http/server.go

    func (c *conn) close() {
    	c.finalFlush()
    	c.rwc.Close()
    }
    
    // rstAvoidanceDelay is the amount of time we sleep after closing the
    // write side of a TCP connection before closing the entire socket.
    // By sleeping, we increase the chances that the client sees our FIN
    // and processes its final data before they process the subsequent RST
    // from closing a connection with known unread data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. src/runtime/mcentral.go

    		// Set sweepgen to indicate it's not cached but needs
    		// sweeping and can't be allocated from. sweep will
    		// set s.sweepgen to indicate s is swept.
    		atomic.Store(&s.sweepgen, sg-1)
    	} else {
    		// Indicate that s is no longer cached.
    		atomic.Store(&s.sweepgen, sg)
    	}
    
    	// Put the span in the appropriate place.
    	if stale {
    		// It's stale, so just sweep it. Sweeping will put it on
    		// the right list.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/runtime/mgcsweep.go

    	return nil
    }
    
    const sweepDrainedMask = 1 << 31
    
    // activeSweep is a type that captures whether sweeping
    // is done, and whether there are any outstanding sweepers.
    //
    // Every potential sweeper must call begin() before they look
    // for work, and end() after they've finished sweeping.
    type activeSweep struct {
    	// state is divided into two parts.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top