Update threadtools.inl

This commit is contained in:
Star1xr 2026-05-15 13:58:24 +03:00 committed by GitHub
parent 96e35178e9
commit a2347cde0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -321,7 +321,8 @@ INLINE_ON_PS3 void CThread::Stop(int exitCode)
}
else
{
throw exitCode;
pthread_exit((void*)(intptr_t)exitCode);
}
#else
AssertMsg( false, "Called CThread::Stop() for a platform that doesn't have it!\n");