Bring Windows service code up to date and into sync.
This commit is contained in:
parent
0e31551349
commit
e2c65bf16a
5 changed files with 109 additions and 28 deletions
|
@ -33,11 +33,9 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "../../node/Node.hpp"
|
||||
#include "../../node/Defaults.hpp"
|
||||
#include "../../node/Thread.hpp"
|
||||
#include "../../node/Mutex.hpp"
|
||||
#include "../../node/Utils.hpp"
|
||||
#include "../../osdep/Thread.hpp"
|
||||
#include "../../service/OneService.hpp"
|
||||
|
||||
// Uncomment to make debugging Windows services suck slightly less hard.
|
||||
//#define ZT_DEBUG_SERVICE "C:\\ZeroTierOneServiceDebugLog.txt"
|
||||
|
@ -79,7 +77,7 @@ protected:
|
|||
virtual void OnShutdown();
|
||||
|
||||
private:
|
||||
ZeroTier::Node *volatile _node;
|
||||
ZeroTier::OneService *volatile _service;
|
||||
ZeroTier::Mutex _lock;
|
||||
ZeroTier::Thread _thread;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue