Checkpoint synchronization: Difference between revisions

(→‎{{header|Tcl}}: Add Ruby. Mark {{needs-review}}. Need several more minutes to add the comment to the talk page.)
Line 340:
=={{header|Go}}==
As of February 2011, Go has checkpoint synchronization in the standard library, with a type called WaitGroup in the package sync. Code below uses this feature and completes the task with the workshop scenario, including workers joining and leaving.
 
Also see the Go solution(s) to [http://rosettacode.org/wiki/Concurrent_computing. concurrent computing] That is a much simpler task, and shown there are two different implementations of checkpoint synchronization.
<lang go>package main
 
1,707

edits