add mutex to channel numbering
This commit is contained in:
parent
52c85aa605
commit
cda07b20a2
2 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue