Rename functions

This commit is contained in:
Changhua 2022-10-16 09:54:26 +08:00
parent 7e0f899fe9
commit 9e41f81fd7

View File

@ -240,7 +240,7 @@ static unique_ptr<Server> &GetServer()
return server; return server;
} }
static int runServer() static int RunServer()
{ {
string server_address("localhost:10086"); string server_address("localhost:10086");
WcfImpl service; WcfImpl service;
@ -262,7 +262,7 @@ static int runServer()
int RpcStartServer() int RpcStartServer()
{ {
HANDLE rpcThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)runServer, NULL, NULL, &lThreadId); HANDLE rpcThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)RunServer, NULL, NULL, &lThreadId);
if (rpcThread != 0) { if (rpcThread != 0) {
CloseHandle(rpcThread); CloseHandle(rpcThread);
} }