Explorar o código

Omit CPU pinning code on OpenBSD

Joseph Henry hai 10 meses
pai
achega
969c0ee6e3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      osdep/BSDEthernetTap.cpp

+ 2 - 0
osdep/BSDEthernetTap.cpp

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