- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for closing (0.16 sec)
-
doc/go_mem.html
is sequenced before the send on <code>c</code>, which is synchronized before the corresponding receive on <code>c</code> completes, which is sequenced before the <code>print</code>. </p> <p class="rule"> The closing of a channel is synchronized before a receive that returns a zero value because the channel is closed. </p> <p> In the previous example, replacing <code>c <- 0</code> with <code>close(c)</code>
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) -
doc/go1.17_spec.html
records that no more values will be sent on the channel. It is an error if <code>c</code> is a receive-only channel. Sending to or closing a closed channel causes a <a href="#Run_time_panics">run-time panic</a>. Closing the nil channel also causes a <a href="#Run_time_panics">run-time panic</a>. After calling <code>close</code>, and after any previously
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) -
doc/go_spec.html
records that no more values will be sent on the channel. It is an error if <code>ch</code> is a receive-only channel. Sending to or closing a closed channel causes a <a href="#Run_time_panics">run-time panic</a>. Closing the nil channel also causes a <a href="#Run_time_panics">run-time panic</a>. After calling <code>close</code>, and after any previously
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)