- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for project (0.15 sec)
-
doc/go_mem.html
</p> <h3 id="advice">Advice</h3> <p> Programs that modify data being simultaneously accessed by multiple goroutines must serialize such access. </p> <p> To serialize access, protect the data with channel operations or other synchronization primitives such as those in the <a href="/pkg/sync/"><code>sync</code></a> and <a href="/pkg/sync/atomic/"><code>sync/atomic</code></a> packages. </p> <p>
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
<li> <code>recover</code> was not called directly by a deferred function. </li> </ul> <p> The <code>protect</code> function in the example below invokes the function argument <code>g</code> and protects callers from run-time panics raised by <code>g</code>. </p> <pre> func protect(g func()) { defer func() { log.Println("done") // Println executes normally even if there is a panic
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
causes a <a href="#Run_time_panics">run-time panic</a>. </p> <p> The <code>protect</code> function in the example below invokes the function argument <code>g</code> and protects callers from run-time panics raised by <code>g</code>. </p> <pre> func protect(g func()) { defer func() { log.Println("done") // Println executes normally even if there is a panic
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)