Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Sleep (5.83 sec)

  1. src/cmd/cgo/internal/test/issue18146.go

    			// with EAGAIN.
    			if pe, ok := err.(*os.PathError); ok {
    				err = pe.Err
    			}
    			if se, ok := err.(syscall.Errno); ok && (se == syscall.EAGAIN || se == syscall.EMFILE) {
    				time.Sleep(time.Millisecond)
    				continue
    			}
    
    			t.Error(err)
    			return
    		}
    		cmds = append(cmds, cmd)
    	}
    
    	failures := 0
    	for _, cmd := range cmds {
    		err := cmd.Wait()
    		if err == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    When the function terminates, its goroutine also terminates.
    If the function has any return values, they are discarded when the
    function completes.
    </p>
    
    <pre>
    go Server()
    go func(ch chan&lt;- bool) { for { sleep(10); ch &lt;- true }} (c)
    </pre>
    
    
    <h3 id="Select_statements">Select statements</h3>
    
    <p>
    A "select" statement chooses which of a set of possible
    <a href="#Send_statements">send</a> or
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	// it to be ready. adb wait-for-device is not enough, we have to
    	// wait for sys.boot_completed.
    	if err := adb("wait-for-device", "exec-out", "while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;"); err != nil {
    		return 0, err
    	}
    
    	// Done once per make.bash.
    	if err := adbCopyGoroot(); err != nil {
    		return 0, err
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    When the function terminates, its goroutine also terminates.
    If the function has any return values, they are discarded when the
    function completes.
    </p>
    
    <pre>
    go Server()
    go func(ch chan&lt;- bool) { for { sleep(10); ch &lt;- true }} (c)
    </pre>
    
    
    <h3 id="Select_statements">Select statements</h3>
    
    <p>
    A "select" statement chooses which of a set of possible
    <a href="#Send_statements">send</a> or
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top