mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-03 15:46:20 +00:00
pthread_spec: Make assert into a log
This commit is contained in:
parent
8029325b3e
commit
93d7982117
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,9 @@ void _thread_cleanupspecific() {
|
||||||
}
|
}
|
||||||
delete[] curthread->specific;
|
delete[] curthread->specific;
|
||||||
curthread->specific = nullptr;
|
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) {
|
int PS4_SYSV_ABI posix_pthread_setspecific(PthreadKeyT key, const void* value) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue