zeromq/zeromq2-1 — pull request #32 by mika-fischer (2011-11-17 12:36:05+00:00)
Title: Work around for LIBZMQ-281

The problem is that other threads might still be in mailbox::send() when
it is destroyed. So as a workaround, we just acquire the mutex in the
destructor. Therefore the running send will finish before the mailbox is
destroyed.

Signed-off-by: Mika Fischer