Skip to content

Checkpoint Synchronization

是在阅读 golangprograms Golang Concurrency 时,发现的这个topic。

golangprograms Golang Concurrency # Illustration of Checkpoint Synchronization in Golang

rosettacode Checkpoint synchronization

The checkpoint synchronization is a problem of synchronizing multiple tasks. Consider a workshop where several workers (tasks) assembly details of some mechanism. When each of them completes his work they put the details together. There is no store, so a worker who finished its part first must wait for others before starting another one. Putting details together is the checkpoint at which tasks synchronize themselves before going their paths apart.