libzmq master
The Intelligent Transport Layer
Defines | Functions

test_shutdown_stress.cpp File Reference

#include "../include/zmq.h"
#include <assert.h>
#include <pthread.h>
#include <stddef.h>
#include <stdio.h>
Include dependency graph for test_shutdown_stress.cpp:

Go to the source code of this file.

Defines

#define THREAD_COUNT   100

Functions

int main (int argc, char *argv[])
static void * worker (void *s)

Define Documentation

#define THREAD_COUNT   100

Definition at line 28 of file test_shutdown_stress.cpp.

Referenced by main().


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 47 of file test_shutdown_stress.cpp.

References THREAD_COUNT, worker(), zmq_bind(), zmq_close(), zmq_init(), ZMQ_PUB, zmq_socket(), ZMQ_SUB, and zmq_term().

Here is the call graph for this function:

static void* worker ( void *  s) [static]

Definition at line 32 of file test_shutdown_stress.cpp.

References zmq_close(), and zmq_connect().

Here is the call graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines