From 6e4a5d8cdad71c79e393502005bae3bfbaeaae82 Mon Sep 17 00:00:00 2001 From: nakeee Date: Sun, 23 Nov 2008 08:44:02 +0000 Subject: Moved wiimote_test to wiimote Some linux compile fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/Thread.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/Common/Src/Thread.cpp') diff --git a/Source/Core/Common/Src/Thread.cpp b/Source/Core/Common/Src/Thread.cpp index 512e6be345..56188bb9b3 100644 --- a/Source/Core/Common/Src/Thread.cpp +++ b/Source/Core/Common/Src/Thread.cpp @@ -248,6 +248,8 @@ void Thread::WaitForDeath() { void* exit_status; pthread_join(thread_id, &exit_status); + if (exit_status) + fprintf(stderr, "error %d joining thread\n", *(int *)exit_status); thread_id = 0; } } -- cgit v1.2.3