mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -19,7 +19,7 @@
|
||||
#include "wpi/util/Synchronization.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
|
||||
namespace wpi {
|
||||
namespace wpi::net {
|
||||
class ResolverThread {
|
||||
private:
|
||||
struct private_init {};
|
||||
@@ -38,12 +38,12 @@ class ResolverThread {
|
||||
void ThreadMain();
|
||||
bool CleanupRefs();
|
||||
|
||||
wpi::mutex serviceRefMutex;
|
||||
wpi::util::mutex serviceRefMutex;
|
||||
std::vector<std::pair<DNSServiceRef, WPI_EventHandle>> serviceRefsToRemove;
|
||||
std::vector<std::pair<DNSServiceRef, dnssd_sock_t>> serviceRefs;
|
||||
std::thread thread;
|
||||
std::atomic_bool running;
|
||||
};
|
||||
} // namespace wpi
|
||||
} // namespace wpi::net
|
||||
|
||||
#endif // defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user