Created
September 20, 2010 17:27
-
-
Save hintjens/588261 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Reproduces freeze in 0MQ | |
1. Run, application hangs on zmq_close | |
*/ | |
#include <zmq.h> | |
int main (int argc, char *argv[]) | |
{ | |
void *context = zmq_init (1); | |
void *socket = zmq_socket (context, ZMQ_REQ); | |
zmq_term (context); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment