Commit 9d67f212 authored by Stan Kladko's avatar Stan Kladko

Enable zeromq

x
parent 601ceced
...@@ -104,15 +104,11 @@ void initUserSpace() { ...@@ -104,15 +104,11 @@ void initUserSpace() {
systemHealthCheck(); systemHealthCheck();
#endif #endif
#ifdef EXPERIMENTAL_ZMQ_SERVER
zmqServer = new ZMQServer(); zmqServer = new ZMQServer();
static std::thread serverThread(std::bind(&ZMQServer::run, zmqServer)); static std::thread serverThread(std::bind(&ZMQServer::run, zmqServer));
#endif
} }
void exitZMQServer() { void exitZMQServer() {
#ifdef EXPERIMENTAL_ZMQ_SERVER
auto doExit = !exiting.exchange(true); auto doExit = !exiting.exchange(true);
if (doExit) { if (doExit) {
...@@ -122,7 +118,6 @@ void exitZMQServer() { ...@@ -122,7 +118,6 @@ void exitZMQServer() {
zmqServer = nullptr; zmqServer = nullptr;
} }
#endif
} }
uint64_t initEnclave() { uint64_t initEnclave() {
......
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