Skip to content

Commit db72de9

Browse files
committed
Add PARALLEL macro at chaser.hpp.
1 parent e9eda82 commit db72de9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/bitcoin/node/chasers/chaser.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ class BCN_API chaser
156156
#define SUBSCRIBE_EVENTS(method, ...) \
157157
subscribe_events(BIND(method, __VA_ARGS__))
158158

159+
#define PARALLEL(method, ...) \
160+
boost::asio::post(threadpool_.service(), BIND(method, __VA_ARGS__));
161+
159162
} // namespace node
160163
} // namespace libbitcoin
161164

0 commit comments

Comments
 (0)