src/pre_main.cpp
static lcos::barrier
create_barrier(std::size_t num_localities, char const* symname)
{
    lcos::barrier b = lcos::barrier::create(find_here(), num_localities);

    // register an unmanaged gid to avoid id-splitting during startup
    agas::register_name(launch::sync, symname, b.get_id().get_gid());
    return b;
}
///////////////////////////////////////////////////////////////////////////////
// Create a new barrier and register its id with the given symbolic name.
Create a new barrier and register its id with the given symbolic name.
Create a new barrier and register its id with the given symbolic name .
static lcos::barrier
create_barrier(std::size_t num_localities, char const* symname)
{
    lcos::barrier b = lcos::barrier::create(find_here(), num_localities);
    agas::register_name(launch::sync, symname, b.get_id().get_gid());
    return b;
}
static lcos :: barrier create_barrier ( std :: size_t num_localities , char const * symname ) { lcos :: barrier b = lcos :: barrier :: create ( find_here ( ) , num_localities ) ; agas :: register_name ( launch :: sync , symname , b . get_id ( ) . get_gid ( ) ) ; return b ; }
Create a new barrier and register its id with the given symbolic name.
Create a new barrier and register its id with the given symbolic name .
// register an unmanaged gid to avoid id-splitting during startup