summaryrefslogtreecommitdiff
path: root/src/ctx.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctx.hpp')
-rw-r--r--src/ctx.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ctx.hpp b/src/ctx.hpp
index bcffcd7..6a337d5 100644
--- a/src/ctx.hpp
+++ b/src/ctx.hpp
@@ -39,6 +39,7 @@ namespace zmq
{
class object_t;
+ class monitor_t;
class io_thread_t;
class socket_base_t;
class reaper_t;
@@ -152,6 +153,9 @@ namespace zmq
zmq::socket_base_t *log_socket;
mutex_t log_sync;
+ // Monitor object attached to the context.
+ zmq::monitor_t *monitor;
+
// Maximum socket ID.
static atomic_counter_t max_socket_id;