Author: cgutman
Date: Tue Jan 10 02:18:04 2012
New Revision: 54899
URL:
http://svn.reactos.org/svn/reactos?rev=54899&view=rev
Log:
[DHCPCSVC]
- Make AdapterDiscoveryThread run in its own thread (duh?)
Modified:
branches/wlan-bringup/dll/win32/dhcpcsvc/dhcp/adapter.c
Modified: branches/wlan-bringup/dll/win32/dhcpcsvc/dhcp/adapter.c
URL:
http://svn.reactos.org/svn/reactos/branches/wlan-bringup/dll/win32/dhcpcsvc…
==============================================================================
--- branches/wlan-bringup/dll/win32/dhcpcsvc/dhcp/adapter.c [iso-8859-1] (original)
+++ branches/wlan-bringup/dll/win32/dhcpcsvc/dhcp/adapter.c [iso-8859-1] Tue Jan 10
02:18:04 2012
@@ -361,14 +361,13 @@
}
HANDLE StartAdapterDiscovery(VOID) {
- HANDLE /* ThreadHandle, */ EventHandle;
+ HANDLE ThreadHandle, EventHandle;
EventHandle = CreateEvent(NULL,
FALSE,
FALSE,
NULL);
-#if 0
ThreadHandle = CreateThread(NULL,
0,
AdapterDiscoveryThread,
@@ -380,9 +379,6 @@
return NULL;
CloseHandle(ThreadHandle);
-#else
- AdapterDiscoveryThread((LPVOID)EventHandle);
-#endif
return EventHandle;
}