[PR #336] [MERGED] Add sem_timedwait polyfill for macOS. #1494

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/336
Author: @squidbus
Created: 7/28/2024
Status: Merged
Merged: 7/29/2024
Merged by: @georgemoralis

Base: mainHead: sem-polyfill


📝 Commits (1)

  • 43d60a8 Add sem_timedwait polyfill for macOS.

📊 Changes

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

View changed files

📝 CMakeLists.txt (+5 -1)
📝 src/core/libraries/kernel/thread_management.cpp (+30 -5)

📄 Description

Similar to the polyfill for pthread_mutex_timedlock, this will do a trywait-and-sleep loop until the specified timeout is reached.


🔄 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/336 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 7/28/2024 **Status:** ✅ Merged **Merged:** 7/29/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `sem-polyfill` --- ### 📝 Commits (1) - [`43d60a8`](https://github.com/shadps4-emu/shadPS4/commit/43d60a8ac9e5b0f44c50c8fa263ac24957b8eeaf) Add sem_timedwait polyfill for macOS. ### 📊 Changes **2 files changed** (+35 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+5 -1) 📝 `src/core/libraries/kernel/thread_management.cpp` (+30 -5) </details> ### 📄 Description Similar to the polyfill for `pthread_mutex_timedlock`, this will do a trywait-and-sleep loop until the specified timeout is reached. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:48 +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#1494
No description provided.