mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-11-23 03:09:55 +00:00
pthread_spec: Make assert into a log
This commit is contained in:
parent
8daecbc54d
commit
0f1be0122e
@ -92,7 +92,9 @@ void _thread_cleanupspecific() {
|
||||
}
|
||||
delete[] curthread->specific;
|
||||
curthread->specific = nullptr;
|
||||
ASSERT(curthread->specific_data_count == 0);
|
||||
if (curthread->specific_data_count > 0) {
|
||||
LOG_WARNING(Lib_Kernel, "Thread has exited with leftover thread-specific data");
|
||||
}
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI posix_pthread_setspecific(PthreadKeyT key, const void* value) {
|
||||
|
Loading…
Reference in New Issue
Block a user