New Issue: Barrier module stabilization - overview

18860, "ronawho", "Barrier module stabilization - overview", "2021-12-14T20:56:07Z"

For library stabilization / Chapel 2.0, we're looking improve and stabilize our support for barriers. As part of this effort we're looking to combine the Barriers module and the AllLocalesBarriers module, which was introduced because of performance limitations in the original barriers module.

This is a meta-issue, where I want to go through the API, discuss the current limitations (primarily focused on performance issues), show some motivating use-cases, present some options for addressing performance limitations, and give some comparisons to other languages/libraries. Specific issues and interface choices will be split into their own issues, but I wanted something to provide the big picture. For internal devs, see also and

Barrier API: