[PR #1664] [MERGED] thread: Configure stack and guard on POSIX hosts. #2231

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1664
Author: @squidbus
Created: 12/4/2024
Status: Merged
Merged: 12/4/2024
Merged by: @raphaelthegreat

Base: mainHead: thr-stack


📝 Commits (1)

  • 9c11aff thread: Configure stack and guard on POSIX hosts.

📊 Changes

3 files changed (+9 additions, -3 deletions)

View changed files

📝 src/core/libraries/kernel/threads/pthread.cpp (+1 -1)
📝 src/core/thread.cpp (+3 -1)
📝 src/core/thread.h (+5 -1)

📄 Description

Applies the stack and guard configurations from the guest PthreadAttr to the host pthread_attr_t on POSIX systems.

Fixes a crash on launch in CUSA08010 when the default host stack size is too small.


🔄 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/1664 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 12/4/2024 **Status:** ✅ Merged **Merged:** 12/4/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `thr-stack` --- ### 📝 Commits (1) - [`9c11aff`](https://github.com/shadps4-emu/shadPS4/commit/9c11aff3574d34c6bcd0c1f67e72bbd1e6b9be2f) thread: Configure stack and guard on POSIX hosts. ### 📊 Changes **3 files changed** (+9 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/threads/pthread.cpp` (+1 -1) 📝 `src/core/thread.cpp` (+3 -1) 📝 `src/core/thread.h` (+5 -1) </details> ### 📄 Description Applies the stack and guard configurations from the guest `PthreadAttr` to the host `pthread_attr_t` on POSIX systems. Fixes a crash on launch in CUSA08010 when the default host stack size is too small. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:40 +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#2231
No description provided.