![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include "testutil.hpp"
Go to the source code of this file.
Functions | |
int | main (void) |
static void | receiver (void *socket) |
void | test_ctx_destroy () |
void | test_ctx_shutdown () |
int main | ( | void | ) |
Definition at line 92 of file test_ctx_destroy.cpp.
References setup_test_environment(), test_ctx_destroy(), and test_ctx_shutdown().
|
static |
Definition at line 32 of file test_ctx_destroy.cpp.
References zmq_recv().
Referenced by test_ctx_shutdown(), and test_fair_queue_in().
void test_ctx_destroy | ( | ) |
Definition at line 39 of file test_ctx_destroy.cpp.
References zmq_close(), zmq_ctx_destroy(), zmq_ctx_new(), ZMQ_PULL, and zmq_socket().
Referenced by main().
void test_ctx_shutdown | ( | ) |
Definition at line 59 of file test_ctx_destroy.cpp.
References msleep(), receiver(), SETTLE_TIME, zmq_close(), zmq_ctx_destroy(), zmq_ctx_new(), zmq_ctx_shutdown(), ZMQ_PULL, zmq_socket(), zmq_threadclose(), and zmq_threadstart().
Referenced by main().