If you can use zmq_poller it will solve it. I can make a PR to improve it by making tge creation of the signaler lazy.
Are you using thread safe sockets (SERVER CLIENT ...) On Mar 10, 2017 13:01, "brunobodin ." <[email protected]> wrote: > Hi all > > digging deeper, the issue seems related to the connect/bind of signaler > within the poll function. > > On Fri, Mar 10, 2017 at 8:46 AM, brunobodin . <[email protected]> > wrote: > >> Luca, >> >> thanks for you anwser... apparently select is the only method available >> on windows, and is the one used by the appveyor build. >> Draft is not enabled. >> >> still investigating... >> >> Regards >> >> Bruno >> >> On Thu, Mar 9, 2017 at 6:12 PM, Luca Boccassi <[email protected]> >> wrote: >> >>> On Thu, 2017-03-09 at 17:22 +0100, brunobodin . wrote: >>> > Hi all, >>> > >>> > I am in the process of migrating my application (windows, visual 2015) >>> from >>> > 4.1.2 to 4.2.2 >>> > >>> > The point is that with the new version, polling is now _very_ slow, >>> making >>> > my app quite unusable. >>> > >>> > Any hint or suggestion about what I could check ? The polling method is >>> > "select", optimization options of the compiler are set, the >>> performances of >>> > the performance tools (inproc_lat, etc) are ok... >>> > I do not know what to look for next... >>> > >>> > thanks >>> > >>> > Bruno >>> >>> Where you using select before as well? >>> Are you by any chance building with the DRAFT APIs enabled? >>> >>> Kind regards, >>> Luca Boccassi >>> >>> _______________________________________________ >>> zeromq-dev mailing list >>> [email protected] >>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >> >> > > _______________________________________________ > zeromq-dev mailing list > [email protected] > https://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
