mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-21 07:45:03 +02:00
poller is a concept now rather than virtualised class
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "i_poller.hpp"
|
||||
#include "poller.hpp"
|
||||
#include "i_poll_events.hpp"
|
||||
|
||||
namespace zmq
|
||||
@@ -41,6 +41,8 @@ namespace zmq
|
||||
|
||||
protected:
|
||||
|
||||
typedef poller_t::handle_t handle_t;
|
||||
|
||||
// Derived class can init/swap the underlying I/O thread.
|
||||
// Caution: Remove all the file descriptors from the old I/O thread
|
||||
// before swapping to the new one!
|
||||
@@ -63,7 +65,7 @@ namespace zmq
|
||||
|
||||
private:
|
||||
|
||||
struct i_poller *poller;
|
||||
poller_t *poller;
|
||||
|
||||
io_object_t (const io_object_t&);
|
||||
void operator = (const io_object_t&);
|
||||
|
Reference in New Issue
Block a user