Skip to content
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

⬆️ Update stdx and concurrency to latest #621

Merged
merged 1 commit into from
Oct 3, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/asciidoctor-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
steps:
- name: Checkout source
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
.cmake-format.yaml
CMakePresets.json
/toolchains
mull.yml
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ include(cmake/string_catalog.cmake)

add_versioned_package("gh:boostorg/mp11#boost-1.83.0")
fmt_recipe(10.2.1)
add_versioned_package("gh:intel/cpp-std-extensions#2fc35c7")
add_versioned_package("gh:intel/cpp-baremetal-concurrency#fef18ca")
add_versioned_package("gh:intel/cpp-baremetal-senders-and-receivers#113eeff")
add_versioned_package("gh:intel/cpp-std-extensions#67120f7")
add_versioned_package("gh:intel/cpp-baremetal-concurrency#630d8bc")
add_versioned_package("gh:intel/cpp-baremetal-senders-and-receivers#9ea96f9")

add_library(cib INTERFACE)
target_compile_features(cib INTERFACE cxx_std_20)
Expand Down
12 changes: 12 additions & 0 deletions include/msg/send.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
#include <async/completion_tags.hpp>
#include <async/concepts.hpp>
#include <async/connect.hpp>
#include <async/debug_context.hpp>
#include <async/schedulers/trigger_scheduler.hpp>
#include <async/start.hpp>
#include <async/then.hpp>

#include <stdx/concepts.hpp>
#include <stdx/ct_string.hpp>
#include <stdx/type_traits.hpp>

#include <type_traits>
#include <utility>
Expand Down Expand Up @@ -121,4 +123,14 @@ template <stdx::ct_string Name, _send_recv::valid_send_action S, typename F,
return std::forward<S>(s) |
then_receive<Name>(std::forward<F>(f), std::forward<Args>(args)...);
}

struct send_t;
} // namespace msg

template <typename... Ts>
struct async::debug::context_for<msg::_send_recv::op_state<Ts...>> {
using tag = msg::send_t;
constexpr static auto name = stdx::ct_string{"msg_send"};
using type = msg::_send_recv::op_state<Ts...>;
using children = stdx::type_list<>;
};
Loading