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

Rename threadpool to pool #151

Merged
merged 1 commit into from
Sep 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
4 changes: 2 additions & 2 deletions src/message/ReactionStatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ namespace message {
ReactionStatistics::ReactionStatistics(std::shared_ptr<const threading::ReactionIdentifiers> identifiers,
const IDPair& cause,
const IDPair& target,
std::shared_ptr<const util::ThreadPoolDescriptor> target_threadpool,
std::shared_ptr<const util::ThreadPoolDescriptor> target_pool,
std::set<std::shared_ptr<const util::GroupDescriptor>> target_groups)
: identifiers(std::move(identifiers))
, cause(cause)
, target(target)
, target_threadpool(std::move(target_threadpool))
, target_pool(std::move(target_pool))
, target_groups(std::move(target_groups))
, created(Event::now()) {}

Expand Down
4 changes: 2 additions & 2 deletions src/message/ReactionStatistics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ namespace message {
ReactionStatistics(std::shared_ptr<const threading::ReactionIdentifiers> identifiers,
const IDPair& cause,
const IDPair& target,
std::shared_ptr<const util::ThreadPoolDescriptor> target_threadpool,
std::shared_ptr<const util::ThreadPoolDescriptor> target_pool,
std::set<std::shared_ptr<const util::GroupDescriptor>> target_groups);

/// The identifiers for the reaction that was executed
Expand All @@ -91,7 +91,7 @@ namespace message {
IDPair target;

/// The thread pool that this reaction was intended to run on
std::shared_ptr<const util::ThreadPoolDescriptor> target_threadpool;
std::shared_ptr<const util::ThreadPoolDescriptor> target_pool;
/// The groups that this reaction was intended to run in
std::set<std::shared_ptr<const util::GroupDescriptor>> target_groups;

Expand Down
Loading