add mutex to channel numbering

This commit is contained in:
Grant Limberg 2019-03-08 10:29:36 -08:00
parent 52c85aa605
commit cda07b20a2
2 changed files with 10 additions and 3 deletions

View file

@ -36,9 +36,10 @@ struct MQConfig {
};
}
#ifdef ZT_CONTROLLER_USE_LIBPQ
#include "../node/Mutex.hpp"
#include <amqp.h>
#include <amqp_tcp_socket.h>
#include <string>
@ -65,6 +66,9 @@ private:
int _status;
int _channel;
Mutex _chan_m;
};
}