Move more stuff into osdep/ -- node/ will not use threads directly.

This commit is contained in:
Adam Ierymenko 2015-03-31 15:23:14 -07:00
parent e61a40a956
commit 647ce82b86
11 changed files with 8 additions and 17 deletions

View file

@ -54,7 +54,6 @@
#include "Multicaster.hpp"
#include "NetworkConfig.hpp"
#include "CertificateOfMembership.hpp"
#include "Thread.hpp"
namespace ZeroTier {
@ -447,12 +446,6 @@ public:
*/
void destroy();
/**
* Thread main method; do not call elsewhere
*/
void threadMain()
throw();
private:
static void _CBhandleTapData(void *arg,const MAC &from,const MAC &to,unsigned int etherType,const Buffer<4096> &data);
@ -495,8 +488,6 @@ private:
NETCONF_FAILURE_INIT_FAILED
} _netconfFailure;
Thread _setupThread;
Mutex _lock;
AtomicCounter __refCount;