shadPS4/src/core/libraries/kernel
kalaposfos13 0579569f13
Improve signal emulation (#4108)
* improve signal emulation

* make the sce function use the new posix ones

* ifdefing away the issues

* fix me being very tired yesterday night

* let macOS handle SIGRT signals with the native sigaction call instead of an early error return

* windows still has no clue what the fuck is going on

* the loathsome clang-formatter

* fix oact

* return the guest handler, not the host one

* Clear any existing signal mask for game threads.

* don't rely on implementation specific things

* Fix Windows support and sceKernelRaiseException bug

* Review suggestions

@kalaposfos13 suggested I push these.

---------

Co-authored-by: Stephen Miller <56742918+StevenMiller123@users.noreply.github.com>
2026-03-09 14:20:14 +02:00
..
sync kernel: Improvements to condvars. (#3592) 2025-09-13 08:41:26 -07:00
threads Improve signal emulation (#4108) 2026-03-09 14:20:14 +02:00
aio.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
aio.h sceKernelAio* implementation (#2160) 2025-01-16 18:27:52 +02:00
debug.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
debug.h Minor libkernel changes (#2721) 2025-03-30 01:27:33 +02:00
equeue.cpp Kernel.Event: Implement kqueue and kevent (#4065) 2026-02-22 23:41:05 +02:00
equeue.h Kernel.Event: Implement kqueue and kevent (#4065) 2026-02-22 23:41:05 +02:00
file_system.cpp Kernel.Event: Implement kqueue and kevent (#4065) 2026-02-22 23:41:05 +02:00
file_system.h Libs.LibcInternal: _Fofind, _Lockfilelock, _Unlockfilelock, _Foprep, _Fopen, fopen, fflush, _Nnl, _Fspos, fseek, _Frprep, fread, _Fofree, fclose, _Mtxinit, _Mtxlock, _Mtxunlock, _Mtxdst implementations (#4019) 2026-02-11 08:13:28 +02:00
kernel.cpp Libkernel: Implement/stub some functions (#3774) 2025-11-05 16:58:15 -08:00
kernel.h Core: Mount system fonts (#4028) 2026-02-13 09:02:30 +02:00
memory.cpp Core: Miscellaneous memory fixes and slight optimizations (#3946) 2026-01-24 00:17:57 +02:00
memory.h Core: Memory code cleanup and further direct memory fixes (#3655) 2025-09-26 02:28:32 -07:00
orbis_error.h Lib.SysModule: Proper HLE implementation (#4102) 2026-03-08 21:48:03 +02:00
posix_error.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
process.cpp Miscallenous function exports and implementations (#4068) 2026-02-22 17:08:06 +02:00
process.h Libraries: Implement sceKernelIsInSandbox, update OrbisSysModule enum (#3546) 2025-09-07 13:11:15 -07:00
threads.cpp threads: initialize tls on thread creation (take 2) (#4070) 2026-02-24 20:35:05 +03:00
threads.h threads: initialize tls on thread creation (take 2) (#4070) 2026-02-24 20:35:05 +03:00
time.cpp Miscallenous function exports and implementations (#4068) 2026-02-22 17:08:06 +02:00
time.h Make libSceRtc fully HLE (#3330) 2025-08-06 20:08:26 +03:00