Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SELECT (0.17 sec)

  1. 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)
  2. 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)
  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)
Back to top