Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SELECT (4.82 sec)

  1. doc/go1.17_spec.html

    	    statement, or a possibly labeled <a href="#Fallthrough_statements">"fallthrough"
    	    statement</a>.</li>
    	</ul>
    </li>
    
    <li>
    	A <a href="#Select_statements">"select" statement</a> in which:
    	<ul>
    	<li>there are no "break" statements referring to the "select" statement, and</li>
    	<li>the statement lists in each case, including the default if present,
    	    end in a terminating statement.</li>
    	</ul>
    </li>
    
    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)
  2. src/cmd/cgo/doc.go

    	Example:
    	//go:cgo_ldflag "-lpthread"
    	//go:cgo_ldflag "-L/usr/local/sqlite3/lib"
    
    A package compiled with cgo will include directives for both
    internal and external linking; the linker will select the appropriate
    subset for the chosen linking mode.
    
    Example
    
    As a simple example, consider a package that uses cgo to call C.sin.
    The following code will be generated by cgo:
    
    	// compiled by gc
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/go_spec.html

    	    statement, or a possibly labeled <a href="#Fallthrough_statements">"fallthrough"
    	    statement</a>.</li>
    	</ul>
    </li>
    
    <li>
    	A <a href="#Select_statements">"select" statement</a> in which:
    	<ul>
    	<li>there are no "break" statements referring to the "select" statement, and</li>
    	<li>the statement lists in each case, including the default if present,
    	    end in a terminating statement.</li>
    	</ul>
    </li>
    
    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)
  4. src/cmd/cgo/internal/test/cgo_thread_lock.go

    	testThreadLockFunc = testThreadLock
    }
    
    func testThreadLock(t *testing.T) {
    	stop := make(chan int)
    	go func() {
    		// We need the G continue running,
    		// so the M has a chance to run this G.
    		for {
    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    			t.Fatalf("cgo has not locked OS thread")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  5. api/except.txt

    pkg syscall (openbsd-386), const SYS_KILL = 37
    pkg syscall (openbsd-386), const SYS_LSTAT = 293
    pkg syscall (openbsd-386), const SYS_NANOSLEEP = 240
    pkg syscall (openbsd-386), const SYS_SELECT = 93
    pkg syscall (openbsd-386), const SYS_SETITIMER = 83
    pkg syscall (openbsd-386), const SYS_SETTIMEOFDAY = 122
    pkg syscall (openbsd-386), const SYS_STAT = 291
    pkg syscall (openbsd-386), const SYS_STATFS = 307
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  6. doc/go_mem.html

    </p>
    
    <pre>
    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit &lt;- 1
    			w()
    			&lt;-limit
    		}(w)
    	}
    	select{}
    }
    </pre>
    
    <h3 id="locks">Locks</h3>
    
    <p>
    The <code>sync</code> package implements two lock data types,
    <code>sync.Mutex</code> and <code>sync.RWMutex</code>.
    </p>
    
    <p class="rule">
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top