mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #2932] [MERGED] externals: Remove winpthreads. #3094
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#3094
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/2932
Author: @squidbus
Created: 5/14/2025
Status: ✅ Merged
Merged: 5/15/2025
Merged by: @squidbus
Base:
main← Head:no-winpthreads📝 Commits (1)
51bd0eeexternals: Remove winpthreads.📊 Changes
9 files changed (+346 additions, -257 deletions)
View changed files
📝
.gitmodules(+0 -4)📝
CMakeLists.txt(+1 -8)📝
externals/CMakeLists.txt(+0 -6)➖
externals/winpthreads(+0 -1)📝
src/common/thread.cpp(+33 -6)📝
src/common/thread.h(+3 -0)📝
src/core/libraries/kernel/kernel.cpp(+3 -0)📝
src/core/libraries/kernel/time.cpp(+301 -227)📝
src/core/libraries/kernel/time.h(+5 -5)📄 Description
Common::PreciseSleepfromCommon::AccurateSleep. This implements an interruptible sleep with high precision, andAccurateSleepuses it to implement an uninterruptible sleep like before.nanosleepusing the newPreciseSleep, and implement other sleep functions in terms ofnanosleepsimilar to the real kernel library.clock_getreson Windows.winpthreadsas, with these changes, it is no longer used.Please test on various games for regressions given the new sleep implementations.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.