[zeromq-dev] Poller.Poll utilize 100% CPU

Ilya Kazovsky kazovsky at wesee.com
Thu Jul 11 13:14:29 CEST 2013

I'm using 0MQ in C#. In a separate thread I run:


poller = new Poller( new[] { socket } );            

while( !token.IsCancellationRequested )


poller.Poll( timeout );



This thread utilizes 100% CPU and it doesn't matter what timeout I pass to
the Poller.Poll.

Is there a possibility to poller.Poll wait for the socket event without
utilzation of the CPU?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130711/62c1fcc0/attachment.htm>

More information about the zeromq-dev mailing list