= CSP choice
{c}
{title2=$P\mathbin\Box Q,\quad P\mathbin\sqcap Q$}
In <communicating sequential processes>, <CSP choice> combines possible process behaviours. With external choice $P\mathbin\Box Q$, an offered <CSP event> selected by the environment can determine which branch proceeds. Internal choice $P\mathbin\sqcap Q$ leaves the branch selection nondeterministic from the environment's viewpoint. For example, choosing externally between receiving `left` and receiving `right` offers both alternatives; internally choosing a branch can remove one offer before the environment acts. <Sets> of <execution traces> alone can hide this distinction, so <CSP failures semantics> also records <CSP refusal sets> of <CSP events> that may be declined.
Back to article page