fixed race condition

This commit is contained in:
orignal 2014-04-03 12:19:12 -04:00
parent feb26692d4
commit 92b96d9b15
2 changed files with 5 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#include <vector>
#include <string>
#include <thread>
#include <mutex>
#include <cryptopp/modes.h>
#include <cryptopp/aes.h>
#include "Queue.h"
@ -83,6 +84,7 @@ namespace tunnel
private:
std::mutex m_SendMutex;
TunnelGateway m_Gateway;
};