problem: zmq_poll is slow because FD is being created on every call

making the creation of FD only when thread safe sockets are in used
within the zmq_poller which improve the zmq_poll performance.
This commit is contained in:
somdoron
2017-03-11 10:57:29 +02:00
parent 651f81e8af
commit f694a2d985
2 changed files with 18 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ namespace zmq
uint32_t tag;
// Signaler used for thread safe sockets polling
signaler_t signaler;
signaler_t* signaler;
typedef struct item_t {
socket_base_t *socket;