On Wed, Sep 13, 2017 at 11:15 PM, Sten Kultakangas <[email protected]> wrote: > Hello > > I have implemented a thread pool for a network service application and ran > into the following issue. After a certain quite large amount of calls to the > event_active() function from a thread other than the main I/O thread > event_base_dispatch() hangs causing high CPU usage. No events are dispatched > after that.
Hi, Looks like some problem with threads interactions, do you use evthread_use_windows_threads() ? And can you try adding event_enable_debug_mode(), just before calling any of other libevent functions Azat. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
