shadPS4/src/core/libraries/system
TheTurtle c4506da0ae
kernel: Rewrite pthread emulation (#1440)
* libkernel: Cleanup some function places

* kernel: Refactor thread functions

* kernel: It builds

* kernel: Fix a bunch of bugs, kernel thread heap

* kernel: File cleanup pt1

* File cleanup pt2

* File cleanup pt3

* File cleanup pt4

* kernel: Add missing funcs

* kernel: Add basic exceptions for linux

* gnmdriver: Add workload functions

* kernel: Fix new pthreads code on macOS. (#1441)

* kernel: Downgrade edeadlk to log

* gnmdriver: Add sceGnmSubmitCommandBuffersForWorkload

* exception: Add context register population for macOS. (#1444)

* kernel: Pthread rewrite touchups for Windows

* kernel: Multiplatform thread implementation

* mutex: Remove spamming log

* pthread_spec: Make assert into a log

* pthread_spec: Zero initialize array

* Attempt to fix non-Windows builds

* hotfix: change incorrect NID for scePthreadAttrSetaffinity

* scePthreadAttrSetaffinity implementation

* Attempt to fix Linux

* windows: Address a bunch of address space problems

* address_space: Fix unmap of region surrounded by placeholders

* libs: Reduce logging

* pthread: Implement condvar with waitable atomics and sleepqueue

* sleepq: Separate and make faster

* time: Remove delay execution

* Causes high cpu usage in Tohou Luna Nights

* kernel: Cleanup files again

* pthread: Add missing include

* semaphore: Use binary_semaphore instead of condvar

* Seems more reliable

* libraries/sysmodule: log module on `sceSysmoduleIsLoaded`

* libraries/kernel: implement `scePthreadSetPrio`

---------

Co-authored-by: squidbus <175574877+squidbus@users.noreply.github.com>
Co-authored-by: Daniel R. <47796739+polybiusproxy@users.noreply.github.com>
2024-11-21 22:59:38 +02:00
..
commondialog.cpp Message Dialog library (#767) 2024-09-08 23:27:50 +03:00
commondialog.h Message Dialog library (#767) 2024-09-08 23:27:50 +03:00
msgdialog_ui.cpp Devtools - Inspect regs/User data/Shader disassembly (#1358) 2024-10-13 15:02:22 +03:00
msgdialog_ui.h Rewrite Save Data & Impl Save Data Dialog (#824) 2024-09-20 12:34:19 +03:00
msgdialog.cpp Rewrite Save Data & Impl Save Data Dialog (#824) 2024-09-20 12:34:19 +03:00
msgdialog.h Message Dialog library (#767) 2024-09-08 23:27:50 +03:00
posix.cpp src: Reorganize and cleanup libraries 2024-04-14 00:37:17 +03:00
posix.h src: Reorganize and cleanup libraries 2024-04-14 00:37:17 +03:00
sysmodule.cpp kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
sysmodule.h kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
systemservice.cpp Don't read uninitialized memory in sceSystemServiceReceiveEvent (#1554) 2024-11-20 17:22:30 +01:00
systemservice.h Improve sceSystemServiceReceiveEvent stub (#992) 2024-10-15 21:55:03 +02:00
userservice.cpp Network libs fixes , stubs and more (#1324) 2024-10-11 10:37:36 +03:00
userservice.h added a login event in sceUserServiceGetEvent 2024-05-02 17:14:55 +03:00