typedefstruct Barrier
{
slock_t mutex; int phase; /* phase counter */ int participants; /* the number of participants attached */ int arrived; /* the number of participants that have
* arrived */ int elected; /* highest phase elected */ bool static_party; /* used only for assertions */
ConditionVariable condition_variable;
} Barrier;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.