[zeromq-dev] Mac OS X: test_shutdown_stress sometimes fails

Martin Sustrik sustrik at 250bpm.com
Sat Nov 13 08:31:16 CET 2010


On 11/12/2010 11:34 AM, Christian Gudrian wrote:
> Hello, again!
>
> test_shutdown_stress proves stressing under Windows, too:
>
> The send call at mailbox.cpp:76 might return SOCKET_ERROR with
> GetLastError() == WSAEWOULDBLOCK. The wsa_assert macro ignores this
> special case and allows program execution as if nothing had happened.
> Eventually it's the following zmq_assert which aborts the program.
>
> Is there any reasonable way to appropriately handle this condition?
>    
The buffer resizing code, such as the one in POSIX implementation of 
mailbox_t::send should exist on windows as well.

Martin



More information about the zeromq-dev mailing list