mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[PR #3599] [MERGED] kernel: More thread code clean-up. #3602
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#3602
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/3599
Author: @squidbus
Created: 9/14/2025
Status: ✅ Merged
Merged: 9/14/2025
Merged by: @squidbus
Base:
main← Head:thr-clean-2📝 Commits (1)
9f90eefkernel: More thread code clean-up.📊 Changes
15 files changed (+84 additions, -89 deletions)
View changed files
📝
src/core/libraries/kernel/threads/condvar.cpp(+17 -17)📝
src/core/libraries/kernel/threads/event_flag.cpp(+2 -4)📝
src/core/libraries/kernel/threads/exception.cpp(+1 -1)📝
src/core/libraries/kernel/threads/mutex.cpp(+3 -3)📝
src/core/libraries/kernel/threads/pthread.cpp(+31 -30)📝
src/core/libraries/kernel/threads/pthread.h(+5 -6)📝
src/core/libraries/kernel/threads/pthread_attr.cpp(+5 -7)📝
src/core/libraries/kernel/threads/pthread_clean.cpp(+1 -1)📝
src/core/libraries/kernel/threads/pthread_spec.cpp(+5 -6)📝
src/core/libraries/kernel/threads/rwlock.cpp(+2 -2)📝
src/core/libraries/kernel/threads/semaphore.cpp(+1 -1)📝
src/core/libraries/kernel/threads/sleepq.cpp(+3 -3)📝
src/core/libraries/kernel/threads/sleepq.h(+1 -1)📝
src/core/libraries/kernel/threads/stack.cpp(+5 -5)📝
src/core/libraries/kernel/threads/thread_state.cpp(+2 -2)📄 Description
Mostly just style warnings like
nullptrinstead ofNULL, use of C++-style casts, using const where possible, type consistency, etc. Added in somestd::nothrowconstructions as well to make the null checks actually useful.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.