exclude garlic thread

This commit is contained in:
orignal 2014-10-08 07:55:46 -04:00
parent 002ccdf2c7
commit 296b2d7372
4 changed files with 5 additions and 90 deletions

View file

@ -113,31 +113,6 @@ namespace garlic
std::mutex m_CreatedSessionsMutex;
std::map<uint32_t, GarlicRoutingSession *> m_CreatedSessions; // msgID -> session
};
class GarlicRouting
{
public:
GarlicRouting (): m_IsRunning (false), m_Thread (nullptr) {};
~GarlicRouting () {};
void Start ();
void Stop ();
void PostI2NPMsg (I2NPMessage * msg);
private:
void Run ();
void HandleGarlicMessage (I2NPMessage * msg);
private:
bool m_IsRunning;
std::thread * m_Thread;
i2p::util::Queue<I2NPMessage> m_Queue;
};
extern GarlicRouting routing;
}
}