Concept LinearProcessGroup

Contents

Description

A linear process group maps the process identifiers into the range [0, num_processes(pg)). It therefore requires that the process_id_type and process_size_type types be the same.

Refinement of

Associated types

Concept tag PG::communication_category Must be convertible to linear_process_group_tag.
Process ID type PG::process_id_type Equivalent to the process_size_type of the process group.

Notation

PG
A type that models the ProcessGroup concept.
pg
Object of type PG

Valid Expressions

Name Expression Type Semantics
Executing process process_id(pg) Convertible to process_id_type Returns the ID of the process that is currently executing. The value will be i the range [0,``num_processes(pg)``)

Models


Copyright (C) 2004-5 The Trustees of Indiana University.

Authors: Douglas Gregor and Andrew Lumsdaine