#include "../include/zmq.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <time.h>#include <stdarg.h>#include <string>#include "platform.hpp"#include <pthread.h>#include <unistd.h>
Go to the source code of this file.
Classes | |
| struct | proxy_hwm_cfg_t |
Macros | |
| #define | ARRAY_SIZE(x) (sizeof (x) / sizeof (*x)) |
| #define | ASSERT_EXPR_SAFE(x) assert (x) |
| #define | HWM 10000 |
| #define | TEST_ASSERT_SUCCESS_ERRNO(expr) test_assert_success_message_errno_helper (expr, NULL, #expr) |
Functions | |
| int | main (int argc, char *argv[]) |
| static void | proxy_thread_main (void *pvoid) |
| static void | publisher_thread_main (void *pvoid) |
| static void | set_hwm (void *skt) |
| static void | subscriber_thread_main (void *pvoid) |
| void | terminate_proxy (const proxy_hwm_cfg_t *cfg) |
| int | test_assert_success_message_errno_helper (int rc_, const char *msg_, const char *expr_) |
Variables | |
| static uint64_t | message_count = 0 |
| static size_t | message_size = 0 |
Definition at line 44 of file proxy_thr.cpp.
Definition at line 58 of file proxy_thr.cpp.
| #define HWM 10000 |
Definition at line 41 of file proxy_thr.cpp.
| #define TEST_ASSERT_SUCCESS_ERRNO | ( | expr | ) | test_assert_success_message_errno_helper (expr, NULL, #expr) |
Definition at line 47 of file proxy_thr.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 298 of file proxy_thr.cpp.
Definition at line 205 of file proxy_thr.cpp.
Definition at line 103 of file proxy_thr.cpp.
Definition at line 92 of file proxy_thr.cpp.
Definition at line 166 of file proxy_thr.cpp.
| void terminate_proxy | ( | const proxy_hwm_cfg_t * | cfg | ) |
Definition at line 274 of file proxy_thr.cpp.
| int test_assert_success_message_errno_helper | ( | int | rc_, |
| const char * | msg_, | ||
| const char * | expr_ | ||
| ) |
Definition at line 76 of file proxy_thr.cpp.
|
static |
Definition at line 62 of file proxy_thr.cpp.
|
static |
Definition at line 63 of file proxy_thr.cpp.