fix(libkernel): use Win32 event synchronization in scePthreadCreate #2926
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2926"
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?
Imported from boykopovar/AnyPS5. Originally posted by Bitslay on 2026-10-10T18:33:23Z.
What
Replace C++
std::promise/std::futuresynchronization inscePthreadCreateon Windows with native Win32 events (CreateEventW,SetEvent,WaitForSingleObject):std::promise<bool> startandstd::promise<void> initializedcan cause synchronization deadlocks or race conditions on the MSVC/MinGW runtime under rapid guest worker thread creation.Tested
ctest --test-dir build(guest_pthread_*tests pass). Multi-threaded titles (DOOM PPSA99666 and sample binaries) spawning worker threads concurrently at boot start up without deadlock.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T18:43:56Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed