SolidWallOfCode commented on code in PR #8981:
URL: https://github.com/apache/trafficserver/pull/8981#discussion_r957723416


##########
src/traffic_server/traffic_server.cc:
##########
@@ -2030,13 +2034,26 @@ main(int /* argc ATS_UNUSED */, const char **argv)
         proxyServerCheck.wait(lock, [] { return et_net_threads_ready; });
       }
 
+      {
+        std::unique_lock<std::mutex> lock(pluginInitMutex);
+        plugin_init_done = true;
+        lock.unlock();
+        pluginInitCheck.notify_one();

Review Comment:
   Any good reason to not notify all? It might be the case in the future that 
other things wait on plugin initialization, although really this could be fixed 
at that point.



-- 
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]

Reply via email to