Exemplo n.º 1
0
// ThreadFuncStatic
//------------------------------------------------------------------------------
/*static*/ uint32_t Server::ThreadFuncStatic( void * param )
{
    PROFILE_SET_THREAD_NAME( "ServerThread" )

    Server * s = (Server *)param;
    s->ThreadFunc();
    return 0;
}
Exemplo n.º 2
0
// ThreadFuncStatic
//------------------------------------------------------------------------------
/*static*/ uint32_t Client::ThreadFuncStatic( void * param )
{
	PROFILE_SET_THREAD_NAME( "ClientThread" )

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