libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
inproc_thr.cpp File Reference
#include "../include/zmq.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "platform.hpp"
#include <pthread.h>
Include dependency graph for inproc_thr.cpp:

Go to the source code of this file.

Functions

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

Variables

static int message_count
 
static size_t message_size
 

Function Documentation

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

Definition at line 53 of file inproc_thr.cpp.

References message_count, message_size, zmq_close(), zmq_connect(), zmq_msg_close(), zmq_msg_data(), zmq_msg_init_size(), ZMQ_PUSH, zmq_sendmsg(), zmq_socket(), and zmq_strerror().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int message_count
static

Definition at line 47 of file inproc_thr.cpp.

Referenced by main(), and worker().

size_t message_size
static

Definition at line 48 of file inproc_thr.cpp.

Referenced by main(), and worker().