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


##########
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:
   Actually I thought about changing it to `notify_all()`, but then I thought 
since we only have one place that's waiting for it, probably should not change 
it.



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