A bucket is also a synchronizationbarrier for multiple processes.
bucket也是一个用于多进程的同步barrier。
2
The Barrier class is used to create synchronization points for multi-phase operations.
Barrier类的作用是在多个阶段的操作之间创建同步点。
3
At this time the internal counter is reset to the initially provided total number of processes, making the Barrier instance available for reuse in the next round of synchronization.