Merge branch 'pcsx2-verbose-thread-error'

This commit is contained in:
Gregory Hainaut 2016-08-14 22:31:28 +02:00
commit 2700f06fe7
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ void Threading::pxThread::Start()
pxThreadLog.Write(GetName(), L"Calling pthread_create..."); pxThreadLog.Write(GetName(), L"Calling pthread_create...");
if( pthread_create( &m_thread, NULL, _internal_callback, this ) != 0 ) if( pthread_create( &m_thread, NULL, _internal_callback, this ) != 0 )
throw Exception::ThreadCreationError( this ); throw Exception::ThreadCreationError( this ).SetDiagMsg( L"Thread creation error: " + wxString(std::strerror(errno)) );
if( !m_sem_startup.WaitWithoutYield( wxTimeSpan( 0, 0, 3, 0 ) ) ) if( !m_sem_startup.WaitWithoutYield( wxTimeSpan( 0, 0, 3, 0 ) ) )
{ {