diff options
Diffstat (limited to 'Source/Core/Common/Src/Thread.cpp')
| -rw-r--r-- | Source/Core/Common/Src/Thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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;
}
}
|
