Skip to content

Commit

Permalink
stop_token callback_type
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed Aug 17, 2024
1 parent 1517267 commit fb184e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libs/core/execution/tests/unit/environment_queries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ namespace mylib {
struct stop_token
{
#if defined(HPX_HAVE_STDEXEC)
// TODO: Find out the correct type for this alias.
// Based on:
// https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/
// p2300r10.html#design-cancellation-summary
template<typename T>
using callback_type = void;

bool stop_requested() const noexcept
{
return false;
Expand Down

0 comments on commit fb184e2

Please sign in to comment.