Skip to content

Commit

Permalink
Add PARALLEL macro at chaser.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jan 5, 2025
1 parent e9eda82 commit db72de9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/bitcoin/node/chasers/chaser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ class BCN_API chaser
#define SUBSCRIBE_EVENTS(method, ...) \
subscribe_events(BIND(method, __VA_ARGS__))

#define PARALLEL(method, ...) \
boost::asio::post(threadpool_.service(), BIND(method, __VA_ARGS__));

} // namespace node
} // namespace libbitcoin

Expand Down

0 comments on commit db72de9

Please sign in to comment.