bryancall commented on code in PR #14062:
URL: https://github.com/apache/trafficserver/pull/14062#discussion_r4568841519
##########
plugins/experimental/stek_share/common.h:
##########
@@ -64,10 +74,22 @@ class PluginThreads
return shut_down;
}
+ // Like std::this_thread::sleep_for, but terminate() wakes it early so
+ // shutdown does not wait out a long sleep.
+ template <class Rep, class Period>
+ void
+ sleep_for(const std::chrono::duration<Rep, Period> &duration)
Review Comment:
Agreed, done in
https://github.com/apache/trafficserver/pull/14062/commits/6e1f0d69a390d132d94926f973def9d701542939.
It takes std::chrono::milliseconds now and the template is gone. Both callers
build as they are.
--
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]