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

[code]

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

while( !token.IsCancellationRequested )

{

poller.Poll( timeout );

}

[/code]

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?

 

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to