Author: hpoussin
Date: Sun Jun 1 05:49:28 2008
New Revision: 33799
URL:
http://svn.reactos.org/svn/reactos?rev=33799&view=rev
Log:
Start Rpc server listener thread before device installer thread
See issue #3068 for more details.
Modified:
trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
Modified: trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/umpnpmgr/ump…
==============================================================================
--- trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] Sun Jun 1 05:49:28 2008
@@ -2170,6 +2170,15 @@
hThread = CreateThread(NULL,
0,
+ RpcServerThread,
+ NULL,
+ 0,
+ &dwThreadId);
+ if (hThread != NULL)
+ CloseHandle(hThread);
+
+ hThread = CreateThread(NULL,
+ 0,
DeviceInstallThread,
NULL,
0,
@@ -2177,15 +2186,6 @@
if (hThread != NULL)
CloseHandle(hThread);
- hThread = CreateThread(NULL,
- 0,
- RpcServerThread,
- NULL,
- 0,
- &dwThreadId);
- if (hThread != NULL)
- CloseHandle(hThread);
-
DPRINT("ServiceMain() done\n");
}