Skip to content

P2079R10 Parallel scheduler #8033

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions source/exceptions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1126,10 +1126,13 @@
when \tcode{unhandled_stopped} is called on
a \tcode{with_awaitable_senders<T>} object\iref{exec.with.awaitable.senders}
whose continuation is not a handle to a coroutine
whose promise type has an \tcode{unhandled_stopped} member function.
whose promise type has an \tcode{unhandled_stopped} member function, or

\item%
when \tcode{std::execution::get_parallel_scheduler} is called and
\tcode{std::execution::system_context_replace\-ability::query_parallel_scheduler_backend()}
returns a null pointer value\iref{exec.par.scheduler}.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The paper says

returns nullptr

Seems like a fixup commit is needed, assuming this is purely editorial.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change from the paper's wording is intentional, you can't return the keyword "nullptr" (as seen by the caller).

\end{itemize}

\end{note}

\pnum
Expand Down
Loading