shadPS4/src/core/libraries/kernel
Lizardy 5eecd089ab
thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394)
* Handle empty mutex attribute

- scePthreadMutexInit did not return default when the mutex attributes were empty, now it does

* fix conditional unsafety

* Update thread_management.cpp

fix deref

* accurate heap api

- modified HeapAPI to a struct with preset function fields
- utilized the full array parameter passed to _sceKernelRtldSetApplicationHeapAPI

* fallback to std malloc

* clang format

* Declare all HeapAPI replacement functions

- calloc, realloc, memalign, reallocalign, malloc_stats, malloc_stats_fast, malloc_usable_size
- posix_memalign corrected parameters

* resolve suggestions

- `using` definition replacement for AppHeapAPI
- linux uses heap_malloc, windows uses std::malloc

---------

Co-authored-by: microsoftv <6063922+microsoftv@users.noreply.github.com>
2024-08-13 09:08:03 +03:00
..
event_flag Add initial macOS support. 2024-07-21 22:36:12 +03:00
threads Build stabilization (#413) 2024-08-12 17:23:01 +03:00
cpu_management.cpp src: Reorganize and cleanup libraries 2024-04-14 00:37:17 +03:00
cpu_management.h src: Reorganize and cleanup libraries 2024-04-14 00:37:17 +03:00
event_queue.cpp Move presentation to separate thread/improve sync (#303) 2024-07-28 15:54:09 +02:00
event_queue.h kernel: added HR timers and asio service thread 2024-07-11 13:14:42 +03:00
event_queues.cpp clang format 2024-07-15 03:47:10 +03:00
event_queues.h libraries: kernel: added sceKernelGetEventId 2024-07-14 18:20:31 +02:00
file_system.cpp shader_recompiler: Small instruction parsing refactor/bugfixes (#340) 2024-07-30 23:32:40 +02:00
file_system.h initial dents support 2024-06-20 18:09:40 +03:00
libkernel.cpp shader_recompiler: Small instruction parsing refactor/bugfixes (#340) 2024-07-30 23:32:40 +02:00
libkernel.h Filesystem errors and Base Array Layers (#280) 2024-07-11 14:37:21 +03:00
memory_management.cpp thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
memory_management.h thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
thread_management.cpp thread_management.cpp: Various Mandatory Threading Fixes | Resolve #398 (#394) 2024-08-13 09:08:03 +03:00
thread_management.h shader_recompiler: Small instruction parsing refactor/bugfixes (#340) 2024-07-30 23:32:40 +02:00
time_management.cpp Kernel: added sceKernelConvertLocaltimeToUtc 2024-07-31 00:21:23 -06:00
time_management.h Added LibPngDec 2024-06-14 01:37:26 -06:00