- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for events (0.22 sec)
-
doc/go_mem.html
<p> The exit of a goroutine is not guaranteed to be synchronized before any event in the program. For example, in this program: </p> <pre> var a string func hello() { go func() { a = "hello" }() print(a) } </pre> <p> the assignment to <code>a</code> is not followed by any synchronization event, so it is not guaranteed to be observed by any other goroutine.
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> the function calls and communication happen in the order <code>f()</code>, <code>h()</code>, <code>i()</code>, <code>j()</code>, <code><-c</code>, <code>g()</code>, and <code>k()</code>. However, the order of those events compared to the evaluation and indexing of <code>x</code> and the evaluation of <code>y</code> is not specified. </p> <pre> a := 1 f := func() int { a++; return a }
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
<code>f()</code>, <code>h()</code> (if <code>z</code> evaluates to false), <code>i()</code>, <code>j()</code>, <code><-c</code>, <code>g()</code>, and <code>k()</code>. However, the order of those events compared to the evaluation and indexing of <code>x</code> and the evaluation of <code>y</code> and <code>z</code> is not specified, except as required lexically. For instance, <code>g</code>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0)