Changeset 77993 in vbox for trunk/src/VBox/Main/src-server/linux
- Timestamp:
- Apr 3, 2019 3:11:36 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/linux/HostDnsServiceLinux.cpp
r77984 r77993 90 90 HostDnsServiceLinux::~HostDnsServiceLinux() 91 91 { 92 monitorThreadShutdown(); 93 } 94 95 96 int HostDnsServiceLinux::monitorWorker(void) 97 { 98 92 } 93 94 HRESULT HostDnsServiceLinux::init(HostDnsMonitorProxy *pProxy) 95 { 96 return HostDnsServiceResolvConf::init(pProxy, "/etc/resolv.conf"); 97 } 98 99 int HostDnsServiceLinux::monitorThreadShutdown(RTMSINTERVAL uTimeoutMs) 100 { 101 RT_NOREF(uTimeoutMs); 102 103 send(g_DnsMonitorStop[0], "", 1, 0); 104 105 /** @todo r=andy Do we have to wait for something here? Can this fail? */ 106 return VINF_SUCCESS; 107 } 108 109 int HostDnsServiceLinux::monitorThreadProc(void) 110 { 99 111 AutoNotify a; 100 112 … … 114 126 polls[1].events = POLLIN; 115 127 116 monitorThreadInitializationDone();128 onMonitorThreadInitDone(); 117 129 118 130 int wd[2]; … … 229 241 } 230 242 231 232 void HostDnsServiceLinux::monitorThreadShutdown()233 {234 send(g_DnsMonitorStop[0], "", 1, 0);235 }
Note:
See TracChangeset
for help on using the changeset viewer.