mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Omit CPU pinning code on OpenBSD
This commit is contained in:
parent
75a5b4438b
commit
969c0ee6e3
@ -431,6 +431,7 @@ void BSDEthernetTap::threadMain()
|
||||
// constructing itself.
|
||||
Thread::sleep(500);
|
||||
|
||||
#ifndef __OpenBSD__
|
||||
bool pinning = _pinning;
|
||||
|
||||
for (unsigned int i = 0; i < _concurrency; ++i) {
|
||||
@ -451,6 +452,7 @@ void BSDEthernetTap::threadMain()
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
#endif // __OpenBSD__
|
||||
|
||||
uint8_t b[ZT_TAP_BUF_SIZE];
|
||||
MAC to, from;
|
||||
|
Loading…
Reference in New Issue
Block a user