diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-04 11:40:38 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-04 11:40:38 -0700 |
| commit | 98152d974ada42e659e65590dec9a53d0a28ef54 (patch) | |
| tree | 0b548af496bc78c0f106b5592322024c274491a5 /node/RuntimeEnvironment.hpp | |
| parent | 56febbf2bac2c51d9478616a1dd28243ef03f406 (diff) | |
| download | infinitytier-98152d974ada42e659e65590dec9a53d0a28ef54.tar.gz infinitytier-98152d974ada42e659e65590dec9a53d0a28ef54.zip | |
More cleanup and removal of DeferredPackets, will do the latter in a more elegant way.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index 1f527733..7ba1c989 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -35,7 +35,6 @@ class Multicaster; class NetworkController; class SelfAwareness; class Cluster; -class DeferredPackets; /** * Holds global state for an instance of ZeroTier::Node @@ -51,11 +50,9 @@ public: ,mc((Multicaster *)0) ,topology((Topology *)0) ,sa((SelfAwareness *)0) - ,dp((DeferredPackets *)0) #ifdef ZT_ENABLE_CLUSTER ,cluster((Cluster *)0) #endif - ,dpEnabled(0) { } @@ -82,15 +79,9 @@ public: Multicaster *mc; Topology *topology; SelfAwareness *sa; - DeferredPackets *dp; - #ifdef ZT_ENABLE_CLUSTER Cluster *cluster; #endif - - // This is set to >0 if background threads are waiting on deferred - // packets, otherwise 'dp' should not be used. - volatile int dpEnabled; }; } // namespace ZeroTier |
