[PR #71] [MERGED] Undertale-mutexes #1262

Closed
opened 2026-02-27 21:11:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/71
Author: @georgemoralis
Created: 11/10/2023
Status: Merged
Merged: 11/12/2023
Merged by: @georgemoralis

Base: mainHead: undertale


📝 Commits (10+)

  • 86bc2d4 moved thread_management to proper package
  • 91885e8 added sceMutexInit functions
  • a10af46 some refactoring on thread class
  • 11edfec some dummy mutexlock-unlock
  • 7fcea32 some mutexlock , mutexunlock implementations
  • 5f825fc implemented posix error return codes
  • dbaf38d mutex debugging log
  • 402ee7d init mutex if it doesn't exist when trying to lock (found in openorbis)
  • 7f0cf87 improved mutex creation
  • 7e6c741 added sceSystemServiceGetStatus

📊 Changes

12 files changed (+677 additions, -202 deletions)

View changed files

📝 CMakeLists.txt (+2 -2)
📝 src/core/hle/error_codes.h (+226 -5)
src/core/hle/kernel/thread_management.cpp (+0 -122)
src/core/hle/kernel/thread_management.h (+0 -42)
📝 src/core/hle/libraries/libkernel/libkernel.cpp (+14 -11)
📝 src/core/hle/libraries/libkernel/libkernel.h (+3 -1)
src/core/hle/libraries/libkernel/thread_management.cpp (+300 -0)
src/core/hle/libraries/libkernel/thread_management.h (+89 -0)
📝 src/core/hle/libraries/libsystemservice/system_service.cpp (+17 -4)
📝 src/core/hle/libraries/libsystemservice/system_service.h (+12 -1)
📝 src/core/linker.cpp (+2 -2)
📝 src/main.cpp (+12 -12)

📄 Description

Some work on pthread mutexes based on debugging undertale game . Unfinished


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/71 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 11/10/2023 **Status:** ✅ Merged **Merged:** 11/12/2023 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `undertale` --- ### 📝 Commits (10+) - [`86bc2d4`](https://github.com/shadps4-emu/shadPS4/commit/86bc2d427fab48fb53b601f0d7f791aa0cb6b48d) moved thread_management to proper package - [`91885e8`](https://github.com/shadps4-emu/shadPS4/commit/91885e8a413a6ce2689add5cc48c6e1862b7c9b3) added sceMutexInit functions - [`a10af46`](https://github.com/shadps4-emu/shadPS4/commit/a10af461536a68efd5981cc1cdcdc33838b27fa8) some refactoring on thread class - [`11edfec`](https://github.com/shadps4-emu/shadPS4/commit/11edfecb756c578c69ae11820da80acd3bf8c3cb) some dummy mutexlock-unlock - [`7fcea32`](https://github.com/shadps4-emu/shadPS4/commit/7fcea3277d072e372c9c1dfb41c83791f7fa37b8) some mutexlock , mutexunlock implementations - [`5f825fc`](https://github.com/shadps4-emu/shadPS4/commit/5f825fc8a8fc64e5b2effe8b3b8fa7f8212d140c) implemented posix error return codes - [`dbaf38d`](https://github.com/shadps4-emu/shadPS4/commit/dbaf38dc7dcec672b2eac254f8f2d7ebeb12b51d) mutex debugging log - [`402ee7d`](https://github.com/shadps4-emu/shadPS4/commit/402ee7d006df99d336db9a23426b309382bce48e) init mutex if it doesn't exist when trying to lock (found in openorbis) - [`7f0cf87`](https://github.com/shadps4-emu/shadPS4/commit/7f0cf8784b60d23f9100ceb0bfdf4a907b7e888a) improved mutex creation - [`7e6c741`](https://github.com/shadps4-emu/shadPS4/commit/7e6c741ed73527f729f85f6fc4c846a537c281b2) added sceSystemServiceGetStatus ### 📊 Changes **12 files changed** (+677 additions, -202 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -2) 📝 `src/core/hle/error_codes.h` (+226 -5) ➖ `src/core/hle/kernel/thread_management.cpp` (+0 -122) ➖ `src/core/hle/kernel/thread_management.h` (+0 -42) 📝 `src/core/hle/libraries/libkernel/libkernel.cpp` (+14 -11) 📝 `src/core/hle/libraries/libkernel/libkernel.h` (+3 -1) ➕ `src/core/hle/libraries/libkernel/thread_management.cpp` (+300 -0) ➕ `src/core/hle/libraries/libkernel/thread_management.h` (+89 -0) 📝 `src/core/hle/libraries/libsystemservice/system_service.cpp` (+17 -4) 📝 `src/core/hle/libraries/libsystemservice/system_service.h` (+12 -1) 📝 `src/core/linker.cpp` (+2 -2) 📝 `src/main.cpp` (+12 -12) </details> ### 📄 Description Some work on pthread mutexes based on debugging undertale game . Unfinished --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1262
No description provided.