예제 #1
0
// ThreadFuncStatic
//------------------------------------------------------------------------------
/*static*/ uint32_t Server::ThreadFuncStatic( void * param )
{
    PROFILE_SET_THREAD_NAME( "ServerThread" )

    Server * s = (Server *)param;
    s->ThreadFunc();
    return 0;
}
예제 #2
0
파일: Client.cpp 프로젝트: ClxS/fastbuild
// ThreadFuncStatic
//------------------------------------------------------------------------------
/*static*/ uint32_t Client::ThreadFuncStatic( void * param )
{
	PROFILE_SET_THREAD_NAME( "ClientThread" )

	Client * c = (Client *)param;
	c->ThreadFunc();
	return 0;
}