[zeromq-dev] Assertion failed: pfd.revents & POLLIN (signaler.cpp:155)

Pieter Hintjens ph at imatix.com
Mon Dec 31 17:12:15 CET 2012

On Sat, Dec 29, 2012 at 4:54 PM, crocket <crockabiscuit at gmail.com> wrote:

> It turned out that the error occurred because I tried to use a socket after
> closing the context.

This is in fact a good way to detect shutdown; one thread destroys the
context, and a second will get ETERM errors on any operation that
tries to use it (or any socket on it). The child thread can exit when
it gets ETERM.


More information about the zeromq-dev mailing list