diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-08-08 09:19:36 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-08-08 09:19:36 -0400 |
| commit | 8a46452a700fa5a8d6fc3bd9308bf483cd715de1 (patch) | |
| tree | ef548e9fb3b2f715fed9f765120a4cc00c0a7abb /node/EthernetTap.cpp | |
| parent | 20f8668c286b2991f5eb1984dde6a8a76434d12d (diff) | |
| download | infinitytier-8a46452a700fa5a8d6fc3bd9308bf483cd715de1.tar.gz infinitytier-8a46452a700fa5a8d6fc3bd9308bf483cd715de1.zip | |
Move template parameter in Thread to a more logical scope location.
Diffstat (limited to 'node/EthernetTap.cpp')
| -rw-r--r-- | node/EthernetTap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp index b2682006..4c300d0b 100644 --- a/node/EthernetTap.cpp +++ b/node/EthernetTap.cpp @@ -187,7 +187,7 @@ EthernetTap::EthernetTap( TRACE("tap %s created",_dev); - _thread = Thread<EthernetTap>::start(this); + _thread = Thread::start(this); } #endif // __LINUX__ @@ -271,14 +271,14 @@ EthernetTap::EthernetTap( ::pipe(_shutdownSignalPipe); - _thread = Thread<EthernetTap>::start(this); + _thread = Thread::start(this); } #endif // __APPLE__ EthernetTap::~EthernetTap() { ::write(_shutdownSignalPipe[1],"\0",1); // causes thread to exit - Thread<EthernetTap>::join(_thread); + Thread::join(_thread); ::close(_fd); } |
