Unverified Commit acbb854d authored by kladko's avatar kladko

SKALE-4586 Added concurrentqueue

parent 70c496f4
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "third_party/readerwriterqueue.h" #include "third_party/readerwriterqueue.h"
#include "third_party/concurrentqueue.h"
#include <zmq.hpp> #include <zmq.hpp>
...@@ -50,7 +51,7 @@ class ZMQServer : public Agent{ ...@@ -50,7 +51,7 @@ class ZMQServer : public Agent{
string caCertFile; string caCertFile;
string caCert; string caCert;
BlockingReaderWriterQueue<pair<Json::Value, shared_ptr<zmq::message_t>>> outgoingQueue; ConcurrentQueue<pair<Json::Value, shared_ptr<zmq::message_t>>> outgoingQueue;
vector<BlockingReaderWriterQueue<pair<shared_ptr<ZMQMessage>, shared_ptr<zmq::message_t>>>> incomingQueue; vector<BlockingReaderWriterQueue<pair<shared_ptr<ZMQMessage>, shared_ptr<zmq::message_t>>>> incomingQueue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment