Skip to content

[intro.execution] make function evaluation actually not interleave CWG2466 #2789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5323,11 +5323,11 @@
function, is sequenced before execution of every expression or statement
in the body of the called function.
For each function invocation \placeholder{F},
for every evaluation \placeholder{A} that occurs within \placeholder{F} and
for the set \placeholder{A} of all evaluations that occur within \placeholder{F} and
every evaluation \placeholder{B} that does not occur within \placeholder{F} but
is evaluated on the same thread and as part of the same signal handler (if any),
either \placeholder{A} is sequenced before \placeholder{B} or
\placeholder{B} is sequenced before \placeholder{A}.\footnote{In other words,
either every evaluation in \placeholder{A} is sequenced before \placeholder{B} or
\placeholder{B} is sequenced before every evaluation in \placeholder{A}.\footnote{In other words,
function executions do not interleave with each other.}
\begin{note}
If \placeholder{A} and \placeholder{B} would not otherwise be sequenced then they are
Expand Down