mirror of https://github.com/PCSX2/pcsx2.git
Merge branch 'pcsx2-verbose-thread-error'
This commit is contained in:
commit
2700f06fe7
|
@ -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 ) ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue