[PR #855] [MERGED] Fix deadlocks by enabling reuse of exited threads #1809

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/855
Author: @adjonesey
Created: 9/9/2024
Status: Merged
Merged: 9/9/2024
Merged by: @georgemoralis

Base: mainHead: adjo/fix-deadlock


📝 Commits (1)

  • 5bf0d00 Fix deadlocks by enabling reuse of exited threads

📊 Changes

2 files changed (+9 additions, -6 deletions)

View changed files

📝 src/core/libraries/kernel/thread_management.cpp (+8 -5)
📝 src/core/libraries/kernel/thread_management.h (+1 -1)

📄 Description

This change fixes the deadlock issue in Bloodborne and potentially other games where threads are regularly exiting/starting.


🔄 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/855 **Author:** [@adjonesey](https://github.com/adjonesey) **Created:** 9/9/2024 **Status:** ✅ Merged **Merged:** 9/9/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `adjo/fix-deadlock` --- ### 📝 Commits (1) - [`5bf0d00`](https://github.com/shadps4-emu/shadPS4/commit/5bf0d001ccbf0381e6d182263e1a3c2c00c14dc4) Fix deadlocks by enabling reuse of exited threads ### 📊 Changes **2 files changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/thread_management.cpp` (+8 -5) 📝 `src/core/libraries/kernel/thread_management.h` (+1 -1) </details> ### 📄 Description This change fixes the deadlock issue in Bloodborne and potentially other games where threads are regularly exiting/starting. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:02 +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#1809
No description provided.