mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
Thread scheduling parameters: Use ZMQ context options instead of
environment variables.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "ctx.hpp"
|
||||
#include "fd.hpp"
|
||||
#include "thread.hpp"
|
||||
#include "poller_base.hpp"
|
||||
@@ -43,7 +44,7 @@ namespace zmq
|
||||
|
||||
typedef fd_t handle_t;
|
||||
|
||||
devpoll_t ();
|
||||
devpoll_t (const ctx_t &ctx_);
|
||||
~devpoll_t ();
|
||||
|
||||
// "poller" concept.
|
||||
@@ -66,6 +67,9 @@ namespace zmq
|
||||
// Main event loop.
|
||||
void loop ();
|
||||
|
||||
// Reference to ZMQ context.
|
||||
const ctx_t &ctx;
|
||||
|
||||
// File descriptor referring to "/dev/poll" pseudo-device.
|
||||
fd_t devpoll_fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user