Zth (libzth)
zmq.cpp File Reference
#include <libzth/macros.h>
#include <libzth/poller.h>
#include <libzth/waiter.h>
#include <libzth/worker.h>
#include <libzth/zmq.h>

Go to the source code of this file.

Namespaces

 zth
 
 zth::zmq
 

Macros

#define ZTH_REDIRECT_ZMQ   0
 

Functions

void * zth::zmq::zmq_context ()
 Returns the (only) 0MQ context, used by all fibers. More...
 
void * zth::zmq::zmq_socket (int type)
 Fiber-aware wrapper for 0MQ's zmq_socket(). More...
 
int zth::zmq::zmq_msg_send (zmq_msg_t *msg, void *socket, int flags)
 Fiber-aware wrapper for 0MQ's zmq_msg_send(). More...
 
int zth::zmq::zmq_msg_recv (zmq_msg_t *msg, void *socket, int flags)
 Fiber-aware wrapper for 0MQ's zmq_msg_recv(). More...
 
int zth::zmq::zmq_send (void *socket, void const *buf, size_t len, int flags)
 Fiber-aware wrapper for 0MQ's zmq_send(). More...
 
int zth::zmq::zmq_recv (void *socket, void *buf, size_t len, int flags)
 Fiber-aware wrapper for 0MQ's zmq_recv(). More...
 
int zth::zmq::zmq_send_const (void *socket, void const *buf, size_t len, int flags)
 Fiber-aware wrapper for 0MQ's zmq_send_const(). More...
 

Macro Definition Documentation

◆ ZTH_REDIRECT_ZMQ

#define ZTH_REDIRECT_ZMQ   0

Definition at line 10 of file zmq.cpp.