mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #1671] [MERGED] The way to Unity, pt.2 #2236
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#2236
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/1671
Author: @polybiusproxy
Created: 12/5/2024
Status: ✅ Merged
Merged: 12/6/2024
Merged by: @polybiusproxy
Base:
main← Head:unity-pt2📝 Commits (1)
ae55e18The way to Unity, pt.2📊 Changes
15 files changed (+311 additions, -28 deletions)
View changed files
📝
CMakeLists.txt(+4 -1)📝
src/common/ntapi.cpp(+0 -2)📝
src/common/ntapi.h(+3 -6)📝
src/common/thread.cpp(+13 -1)📝
src/common/thread.h(+2 -0)📝
src/core/devices/logger.cpp(+1 -0)➕
src/core/libraries/kernel/sync/mutex.cpp(+52 -0)➕
src/core/libraries/kernel/sync/mutex.h(+80 -0)➕
src/core/libraries/kernel/sync/semaphore.h(+117 -0)📝
src/core/libraries/kernel/threads/condvar.cpp(+2 -2)📝
src/core/libraries/kernel/threads/event_flag.cpp(+0 -1)📝
src/core/libraries/kernel/threads/pthread.cpp(+1 -0)📝
src/core/libraries/kernel/threads/pthread.h(+5 -3)📝
src/core/libraries/kernel/threads/semaphore.cpp(+15 -11)📝
src/core/libraries/kernel/time.cpp(+16 -1)📄 Description
A big roadblock for Unity on Windows is the use of exceptions, and to implement those, we need to do some preparations.
The idea is to use APCs—for this, we must switch our code to use alertable waits with Win32 wrappers on:
This will allow us to properly implement exceptions later on.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.