mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #3592] [MERGED] kernel: Improvements to condvars. #3596
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3592
Author: @squidbus
Created: 9/13/2025
Status: ✅ Merged
Merged: 9/13/2025
Merged by: @squidbus
Base:
main← Head:condvars📝 Commits (1)
7cd411fkernel: Improvements to condvars.📊 Changes
6 files changed (+28 additions, -50 deletions)
View changed files
📝
src/core/libraries/kernel/sync/semaphore.h(+8 -35)📝
src/core/libraries/kernel/threads/condvar.cpp(+4 -4)📝
src/core/libraries/kernel/threads/mutex.cpp(+3 -3)📝
src/core/libraries/kernel/threads/pthread.h(+7 -2)📝
src/core/libraries/kernel/threads/sleepq.cpp(+5 -5)📝
src/core/libraries/kernel/time.cpp(+1 -1)📄 Description
Some misc changes I made while investigating a condvar issue:
try_acquire_forwhere the time since the start of the acquire would be subtracted from the remaining time each iteration instead of the time since that iteration started.try_acquire_untilto utilize other existing functions instead of requiring its own platform implementations.__APPLE__definition properly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.