pitrou commented on a change in pull request #10644:
URL: https://github.com/apache/arrow/pull/10644#discussion_r663968454
##########
File path: cpp/src/arrow/util/async_generator.h
##########
@@ -1247,6 +1248,8 @@ class BackgroundGenerator {
}
protected:
+ static constexpr uint64_t
kUnlikelyThreadId{std::numeric_limits<uint64_t>::max()};
Review comment:
Hmm, I hadn't thought of that. But it seems simpler to use a hardcoded
number like this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]