Figured out the issue, the listen sockets need to be made non-blocking. Date: Thu, 24 Sep 2015 19:57:32 -0700 Subject: Dynamically adding and removing evconnlistener From: [email protected] To: [email protected]
I am trying to share event loop among multiple listeners instead of blocking one thread per listener. Things work fine if I add all my evconnlistener instances before starting the event loop, but only one listener works if I add them after starting event loop (event loop runs in a background thread). Can I dynamically add and remove evconnlistener instances like this? Thanks.
