libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
test_ctx_destroy.cpp File Reference
#include "testutil.hpp"
Include dependency graph for test_ctx_destroy.cpp:

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 ()
 

Function Documentation

int main ( void  )

Definition at line 92 of file test_ctx_destroy.cpp.

References setup_test_environment(), test_ctx_destroy(), and test_ctx_shutdown().

Here is the call graph for this function:

static void receiver ( void *  socket)
static

Definition at line 32 of file test_ctx_destroy.cpp.

References zmq_recv().

Referenced by test_ctx_shutdown(), and test_fair_queue_in().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function: