GetCurThreadName -> GetCurrentThreadName
This commit is contained in:
@@ -91,7 +91,7 @@ static DWORD WINAPI StartThread( LPVOID pData )
|
||||
{
|
||||
ThreadImpl_Win32 *pThis = (ThreadImpl_Win32 *) pData;
|
||||
|
||||
SetThreadName( GetCurrentThreadId(), RageThread::GetCurThreadName() );
|
||||
SetThreadName( GetCurrentThreadId(), RageThread::GetCurrentThreadName() );
|
||||
|
||||
DWORD ret = (DWORD) pThis->m_pFunc( pThis->m_pData );
|
||||
|
||||
@@ -131,7 +131,7 @@ ThreadImpl *MakeThisThread()
|
||||
{
|
||||
ThreadImpl_Win32 *thread = new ThreadImpl_Win32;
|
||||
|
||||
SetThreadName( GetCurrentThreadId(), RageThread::GetCurThreadName() );
|
||||
SetThreadName( GetCurrentThreadId(), RageThread::GetCurrentThreadName() );
|
||||
|
||||
const HANDLE CurProc = GetCurrentProcess();
|
||||
int ret = DuplicateHandle( CurProc, GetCurrentThread(), CurProc,
|
||||
|
||||
@@ -239,7 +239,7 @@ void RunChild()
|
||||
WriteToChild( hToStdin, buf, iSize );
|
||||
|
||||
/* 6. Write the crashed thread's name. */
|
||||
p = RageThread::GetCurThreadName();
|
||||
p = RageThread::GetCurrentThreadName();
|
||||
iSize = strlen( p )+1;
|
||||
WriteToChild( hToStdin, &iSize, sizeof(iSize) );
|
||||
WriteToChild( hToStdin, p, iSize );
|
||||
|
||||
Reference in New Issue
Block a user