Omit CPU pinning code on OpenBSD

This commit is contained in:
Joseph Henry 2024-11-12 14:40:24 -08:00
parent 75a5b4438b
commit 969c0ee6e3
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344

View File

@ -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;