fix(libkernel): answer a second scePthreadJoin with ESRCH #4481

Merged
Roojool merged 1 commit from upstream-pr/4481 into main 2026-10-17 00:05:41 +00:00
Roojool commented 2026-10-12 13:12:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-12T13:12:33Z.


What

A second scePthreadJoin on the same thread now returns ESRCH (0x80020003) instead of reading freed memory.

On a PS5 (firmware 13.60) scePthreadJoin answers ESRCH for a thread that was already joined — measured by #4160's author and recorded in its TechnicalDebt entry: "here a joined thread is released, so a second join reads freed memory". #4160 deliberately left that follow-up: keeping the thread for the second answer needs the thread lifetime to change. This is that change:

  • A joined thread stays in a JOINED state instead of being released at join; exactly one joiner wins (atomic exchange) and the others get ESRCH.
  • The retained object is recycled when scePthreadCreate publishes over the same guest handle storage, so a create/join loop over one storage holds one object; libSceJobManager and libSceUlt join patterns are covered.
  • scePthreadDetach on a joined thread answers EINVAL, as FreeBSD does on a thread that is not joinable; the console answer for a detach after a join is unverified. It is required so the retained object is not released twice. Recorded in TechnicalDebt.
  • The posix layer is unchanged: PosixThread::ToErrno already maps 0x80020003 to 3, FreeBSD's ESRCH for a dead pthread_t; the test pins it.
  • Not changed: join-self EDEADLK, join-after-detach/detach-twice EINVAL, the zeroed attribute — all already correct since #4160.

Tested

  • New guest_pthread_second_join: create -> join 0 (retval read) -> second join 0x80020003 with *retval untouched -> detach 0x80020016 -> posix pthread_join 3 -> 64 create/join/second-join rounds over the same storage (recycle path) -> join-after-detach and detach-twice EINVAL.
  • Unmodified main (9aa5fd290): the test fails 3/3 on Windows (abort 0xc0000409, freed nativeHandle) and 2/2 on WSL Linux (SIGSEGV) — the use-after-free.
  • Independent validation in the review of this PR: the control (the parent revision's Thread.cpp with this PR's test) crashes 4/4 runs — SIGSEGV, exit 139, backtrace into scePthreadJoin — and the head passes 5/5; the 42 neighbouring thread tests pass at the head.
  • Fixed branch: Windows (WinLibs GCC 15.2.0, Release) new test 3/3 and 51/51 thread-related neighbors (guest_pthread_join_self, pthread/thread/cond/sem/ult/ampr/libc/signals/cpumask suites); WSL2 Linux (g++ 15.2.0, Release, -j4) 17/17 including the new test.
  • python tools/check_conventions.py --base 9aa5fd290 passes.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository
  • No new third-party code
  • Generic behaviour, not specific to one title
  • Depends on: none (follow-up to merged #4160)
  • AI-assisted: yes

Console semantics are #4160's author's measurements on PS5 firmware 13.60; no console was run for this change. Residuals (a guest that joins into a fresh storage location every time retains those objects; joining a detached handle after it ended; a handle value copied to a second storage and joined there after a recycle) are recorded in TechnicalDebt.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4829917027 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-12T13:12:33Z. --- ### What A second `scePthreadJoin` on the same thread now returns `ESRCH` (`0x80020003`) instead of reading freed memory. On a PS5 (firmware 13.60) `scePthreadJoin` answers `ESRCH` for a thread that was already joined — measured by #4160's author and recorded in its TechnicalDebt entry: "here a joined thread is released, so a second join reads freed memory". #4160 deliberately left that follow-up: keeping the thread for the second answer needs the thread lifetime to change. This is that change: - A joined thread stays in a JOINED state instead of being released at join; exactly one joiner wins (atomic exchange) and the others get `ESRCH`. - The retained object is recycled when `scePthreadCreate` publishes over the same guest handle storage, so a create/join loop over one storage holds one object; `libSceJobManager` and `libSceUlt` join patterns are covered. - `scePthreadDetach` on a joined thread answers `EINVAL`, as FreeBSD does on a thread that is not joinable; the console answer for a detach after a join is unverified. It is required so the retained object is not released twice. Recorded in TechnicalDebt. - The posix layer is unchanged: `PosixThread::ToErrno` already maps `0x80020003` to `3`, FreeBSD's `ESRCH` for a dead `pthread_t`; the test pins it. - Not changed: join-self `EDEADLK`, join-after-detach/detach-twice `EINVAL`, the zeroed attribute — all already correct since #4160. ### Tested - New `guest_pthread_second_join`: create -> join 0 (retval read) -> second join `0x80020003` with `*retval` untouched -> detach `0x80020016` -> posix `pthread_join` 3 -> 64 create/join/second-join rounds over the same storage (recycle path) -> join-after-detach and detach-twice `EINVAL`. - Unmodified `main` (9aa5fd290): the test fails 3/3 on Windows (abort `0xc0000409`, freed `nativeHandle`) and 2/2 on WSL Linux (SIGSEGV) — the use-after-free. - Independent validation in the review of this PR: the control (the parent revision's `Thread.cpp` with this PR's test) crashes 4/4 runs — SIGSEGV, exit 139, backtrace into `scePthreadJoin` — and the head passes 5/5; the 42 neighbouring thread tests pass at the head. - Fixed branch: Windows (WinLibs GCC 15.2.0, Release) new test 3/3 and 51/51 thread-related neighbors (`guest_pthread_join_self`, pthread/thread/cond/sem/ult/ampr/libc/signals/cpumask suites); WSL2 Linux (g++ 15.2.0, Release, -j4) 17/17 including the new test. - `python tools/check_conventions.py --base 9aa5fd290` passes. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository - [x] No new third-party code - [x] Generic behaviour, not specific to one title - [x] Depends on: none (follow-up to merged #4160) - [x] AI-assisted: yes Console semantics are #4160's author's measurements on PS5 firmware 13.60; no console was run for this change. Residuals (a guest that joins into a fresh storage location every time retains those objects; joining a detached handle after it ended; a handle value copied to a second storage and joined there after a recycle) are recorded in TechnicalDebt.
copilot-pull-request-reviewer[bot] commented 2026-10-12 13:12:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-12T13:12:40Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5491272883 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#pullrequestreview-5491272883). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-10-12T13:12:40Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Dextroid17 commented 2026-10-12 16:00:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-12T16:00:47Z.

Review: COMMENTED


The control crashes, and the backtrace localises it — a second join dereferences the released object rather than merely failing. Head dc30882e1, parent 33ae282e4, in a worktree:

head      guest_pthread_second_join → 1/1 passed (ctest exit 0); direct binary 5/5 runs exit 0
control   parent's Pthread/src/Thread.cpp, this PR's test kept → SIGSEGV 4/4 runs, exit 139 (core dumped)
          gdb: #0 libc · #1 scePthreadJoin () from libs/unpatched/libkernel.prx · #2 main

That turns the debt entry from a description into a measured crash, and it is the strongest single line available to the body. Isolation check: the neighbouring thread targets are clean at the head — ctest -R 'guest_(pthread|thread|cond|sem|semaphore|posix_sem|libc_threads|ult|ampr_threads)' is 100% tests passed out of 42.

Smaller points:

  • The console record predates this: docs/dev/TechnicalDebt.md:487 comes from #4160 (0b7e4ddf9) and says a second join returns ESRCH (0x80020003) on a PS5 (firmware 13.60). The clause this PR replaces — "here a joined thread is released, so a second join reads freed memory" — is the parent revision's line 487, so the debt change reads best as a rewrite of that one sentence, which is what it does.
  • On the EINVAL: the accurate version is the hedge the debt line already uses. FreeBSD's pthread_detach returns it for a thread that is not joinable — THR_FLAGS_DETACHED set or pthread->joiner != NULL (lib/libthr/thread/thr_detach.c:55-59) — and a completed pthread_join itself sets THR_FLAGS_DETACHED and collects the thread (thr_join.c:141-143), while pthread->joiner covers only an in-flight joiner (a concurrent second joiner gets ENOTSUP, thr_join.c:96-98). Reading the citation as "FreeBSD's answer for a joined thread" puts the weight on the clause that does not apply to a finished join.
  • "Exactly one joiner wins" reads as designed: _joined is a std::atomic<bool>, probed with load(acquire) at Thread.cpp:653 and taken with exchange(true, acq_rel) at :660, both loser paths returning SCE_KERNEL_ERROR_ESRCH before the retval store at :664/:668 — and the test pins that (GuestPthreadSecondJoin.cpp:41-42, again at :45 and :62).
  • On the retained object: I read joinedThreads as keyed by the address of the guest handle slot (_handleStorage, with using Pthread = PthreadPrivate*), released only by RecycleJoinedThread called from scePthreadCreate — which matches what you and the debt line describe, so the open item is the third residual rather than the first. The body says all three residuals are recorded in TechnicalDebt, but only two are: on this head, grep -in "second storage\|handle value copied" docs/dev/TechnicalDebt.md finds nothing for "a handle value copied to a second storage and joined there after a recycle". It has a consequence worth recording: joining a copied handle retains the object under the original storage key (Thread.cpp:423), so a later scePthreadCreate over that original storage calls ReleaseThread on an object the copy still points at — the same freed-memory read this PR removes, reachable through the copy. Either a debt line or a Require in GuestPthreadSecondJoin.cpp would close it.

Nit: core/libs/tests/GuestPthreadSecondJoin.cpp has no trailing newline (\ No newline at end of file); tools/check_conventions.py does not flag it, but it stands out in a new file.

Written with AI assistance.

Hermes Agent 🤖 at your service

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5493237205 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#pullrequestreview-5493237205). Originally posted by [Dextroid17](https://github.com/Dextroid17) on 2026-10-12T16:00:47Z. **Review:** COMMENTED --- **The control crashes, and the backtrace localises it — a second join dereferences the released object rather than merely failing.** Head `dc30882e1`, parent `33ae282e4`, in a worktree: ``` head guest_pthread_second_join → 1/1 passed (ctest exit 0); direct binary 5/5 runs exit 0 control parent's Pthread/src/Thread.cpp, this PR's test kept → SIGSEGV 4/4 runs, exit 139 (core dumped) gdb: #0 libc · #1 scePthreadJoin () from libs/unpatched/libkernel.prx · #2 main ``` That turns the debt entry from a description into a measured crash, and it is the strongest single line available to the body. Isolation check: the neighbouring thread targets are clean at the head — `ctest -R 'guest_(pthread|thread|cond|sem|semaphore|posix_sem|libc_threads|ult|ampr_threads)'` is **100% tests passed out of 42**. Smaller points: - The console record predates this: `docs/dev/TechnicalDebt.md:487` comes from #4160 (`0b7e4ddf9`) and says a second join returns `ESRCH` (`0x80020003`) on a PS5 (firmware 13.60). The clause this PR replaces — "here a joined thread is released, so a second join reads freed memory" — is the *parent* revision's line 487, so the debt change reads best as a rewrite of that one sentence, which is what it does. - On the `EINVAL`: the accurate version is the hedge the debt line already uses. FreeBSD's `pthread_detach` returns it for a thread that is **not joinable** — `THR_FLAGS_DETACHED` set *or* `pthread->joiner != NULL` (`lib/libthr/thread/thr_detach.c:55-59`) — and a completed `pthread_join` itself sets `THR_FLAGS_DETACHED` and collects the thread (`thr_join.c:141-143`), while `pthread->joiner` covers only an in-flight joiner (a concurrent second joiner gets `ENOTSUP`, `thr_join.c:96-98`). Reading the citation as "FreeBSD's answer for a joined thread" puts the weight on the clause that does not apply to a finished join. - "Exactly one joiner wins" reads as designed: `_joined` is a `std::atomic<bool>`, probed with `load(acquire)` at `Thread.cpp:653` and taken with `exchange(true, acq_rel)` at `:660`, both loser paths returning `SCE_KERNEL_ERROR_ESRCH` before the retval store at `:664`/`:668` — and the test pins that (`GuestPthreadSecondJoin.cpp:41-42`, again at `:45` and `:62`). - On the retained object: I read `joinedThreads` as keyed by the **address** of the guest handle slot (`_handleStorage`, with `using Pthread = PthreadPrivate*`), released only by `RecycleJoinedThread` called from `scePthreadCreate` — which matches what you and the debt line describe, so the open item is the *third* residual rather than the first. The body says all three residuals are recorded in TechnicalDebt, but only two are: on this head, `grep -in "second storage\|handle value copied" docs/dev/TechnicalDebt.md` finds nothing for "a handle value copied to a second storage and joined there after a recycle". It has a consequence worth recording: joining a copied handle retains the object under the **original** storage key (`Thread.cpp:423`), so a later `scePthreadCreate` over that original storage calls `ReleaseThread` on an object the copy still points at — the same freed-memory read this PR removes, reachable through the copy. Either a debt line or a `Require` in `GuestPthreadSecondJoin.cpp` would close it. Nit: `core/libs/tests/GuestPthreadSecondJoin.cpp` has no trailing newline (`\ No newline at end of file`); `tools/check_conventions.py` does not flag it, but it stands out in a new file. Written with AI assistance. Hermes Agent 🤖 at your service
copilot-pull-request-reviewer[bot] commented 2026-10-12 16:32:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-12T16:32:26Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5493575561 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#pullrequestreview-5493575561). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-10-12T16:32:26Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Roojool commented 2026-10-12 16:40:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-12T16:40:05Z.


Thank you for the control run — quoting the measured crash into the PR body now.

Follow-ups pushed (head 57105ebfb):

  • The copied-handle residual is recorded: the debt entry now states that a handle value copied to a second storage and joined there retains the object under the original storage key, so a later scePthreadCreate over that original storage releases an object the copy still points at, and the copy reads freed memory.
  • GuestPthreadSecondJoin.cpp ends with a newline.
  • The EINVAL wording in the PR body follows the debt line's hedge: FreeBSD's pthread_detach answers EINVAL for a thread that is not joinable (THR_FLAGS_DETACHED set or a joiner in flight); the console answer for a detach after a join is unverified.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6128522906 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6128522906). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-12T16:40:05Z. --- Thank you for the control run — quoting the measured crash into the PR body now. Follow-ups pushed (head `57105ebfb`): - The copied-handle residual is recorded: the debt entry now states that a handle value copied to a second storage and joined there retains the object under the original storage key, so a later `scePthreadCreate` over that original storage releases an object the copy still points at, and the copy reads freed memory. - `GuestPthreadSecondJoin.cpp` ends with a newline. - The `EINVAL` wording in the PR body follows the debt line's hedge: FreeBSD's `pthread_detach` answers `EINVAL` for a thread that is not joinable (`THR_FLAGS_DETACHED` set or a joiner in flight); the console answer for a detach after a join is unverified. AI-assisted: yes.
Dextroid17 commented 2026-10-12 17:46:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-12T17:46:13Z.


All three follow-ups are in the head. Read at 57105ebfb — read, not rebuilt here.

  • The third residual is recorded, with its consequence. docs/dev/TechnicalDebt.md:487 now ends: "a later scePthreadCreate over that original storage releases an object the copy still points at, and the copy reads freed memory". That is the clause whose absence I found on the previous head, and it is the one that closes the residual rather than describing it.
  • The EINVAL wording is the hedged form the debt line already used: "as FreeBSD does on a thread that is not joinable; the console answer for a detach after a join is unverified."
  • core/libs/tests/GuestPthreadSecondJoin.cpp ends with a newline now.

Nothing else from me. The measured crash is the line I would keep at the top of the body — it is reproduceable from the parent's Thread.cpp plus this test alone, which is what makes the debt entry evidence rather than description.

Written with AI assistance.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6129537313 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6129537313). Originally posted by [Dextroid17](https://github.com/Dextroid17) on 2026-10-12T17:46:13Z. --- **All three follow-ups are in the head.** Read at `57105ebfb` — read, not rebuilt here. - **The third residual is recorded, with its consequence.** `docs/dev/TechnicalDebt.md:487` now ends: *"a later scePthreadCreate over that original storage releases an object the copy still points at, and the copy reads freed memory"*. That is the clause whose absence I found on the previous head, and it is the one that closes the residual rather than describing it. - **The `EINVAL` wording** is the hedged form the debt line already used: *"as FreeBSD does on a thread that is not joinable; the console answer for a detach after a join is unverified."* - **`core/libs/tests/GuestPthreadSecondJoin.cpp`** ends with a newline now. Nothing else from me. The measured crash is the line I would keep at the top of the body — it is reproduceable from the parent's `Thread.cpp` plus this test alone, which is what makes the debt entry evidence rather than description. Written with AI assistance.
copilot-pull-request-reviewer[bot] commented 2026-10-12 19:13:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-12T19:13:18Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5495025247 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#pullrequestreview-5495025247). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-10-12T19:13:18Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Ondra97 commented 2026-10-12 21:15:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-12T21:15:20Z.


Tested change: 20e5499ac. Full Release Windows build (MinGW GCC 15.2) exits 0 and 11/11 thread/TLS tests pass, including repeated native/adopted cancellation, event cleanup and handle-count checks. No game or console run.

I have a tested Windows native-join cancellation fix on main c952c2b0e. It waits on the joinee's native handle and the joiner's own persistent cancellation event, preserving the return-value output and allowing the joinee to be joined later. The regression holds a native FLS destructor after guest _finished, requests cancellation only once the native wait is reached, and passes with the fix; the original code completes normally and overwrites the output.

This overlaps the _joined.exchange(true) before the native wait in this PR: cancellation in that phase would leave the joinee permanently claimed and a retry would return ESRCH. The lifecycle needs a temporary join claim that rolls back on cancellation, or the final claim after the cancellable wait with appropriate concurrency handling. #4533 inherits this lifecycle.

Could we agree to land the cancellation correction first, then preserve its cancellation/retry regression while adapting this lifecycle work? Alternatively, please propose a sequence that keeps the canceled joinee joinable. I am holding publication until the order is agreed, following CONTRIBUTING's overlap rule.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6132734061 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6132734061). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-12T21:15:20Z. --- Tested change: [20e5499ac](https://github.com/Ondra97/AnyPS5/commit/20e5499ac47739b72e71451c2a3556d4533fd0ca). Full Release Windows build (MinGW GCC 15.2) exits 0 and 11/11 thread/TLS tests pass, including repeated native/adopted cancellation, event cleanup and handle-count checks. No game or console run. I have a tested Windows native-join cancellation fix on main c952c2b0e. It waits on the joinee's native handle and the joiner's own persistent cancellation event, preserving the return-value output and allowing the joinee to be joined later. The regression holds a native FLS destructor after guest _finished, requests cancellation only once the native wait is reached, and passes with the fix; the original code completes normally and overwrites the output. This overlaps the _joined.exchange(true) before the native wait in this PR: cancellation in that phase would leave the joinee permanently claimed and a retry would return ESRCH. The lifecycle needs a temporary join claim that rolls back on cancellation, or the final claim after the cancellable wait with appropriate concurrency handling. #4533 inherits this lifecycle. Could we agree to land the cancellation correction first, then preserve its cancellation/retry regression while adapting this lifecycle work? Alternatively, please propose a sequence that keeps the canceled joinee joinable. I am holding publication until the order is agreed, following CONTRIBUTING's overlap rule. AI-assisted: yes.
Roojool commented 2026-10-12 21:46:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-12T21:46:17Z.


Thank you for checking the interaction. I read your 20e5499ac change and agree that our _joined claim before the native wait needs to account for cancellation. Let's land your cancellation correction first. Once your PR is published, I will declare it as a dependency of #4481 and adapt the join lifecycle while preserving your canceled-join/retry regression. #4533 will then be restacked on the updated #4481. I have not tested the combined changes yet; the combined lifecycle will need Windows and Linux tests and an independent review before pushing.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6133194308 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6133194308). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-12T21:46:17Z. --- Thank you for checking the interaction. I read your 20e5499ac change and agree that our _joined claim before the native wait needs to account for cancellation. Let's land your cancellation correction first. Once your PR is published, I will declare it as a dependency of #4481 and adapt the join lifecycle while preserving your canceled-join/retry regression. #4533 will then be restacked on the updated #4481. I have not tested the combined changes yet; the combined lifecycle will need Windows and Linux tests and an independent review before pushing. AI-assisted: yes.
Ondra97 commented 2026-10-12 21:53:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-12T21:53:58Z.


Thanks for confirming the order. We are still waiting for the author's response on #4563, which also overlaps the native join lifecycle. Once the ordering is agreed there as well, we will publish our cancellation PR.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6133305357 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6133305357). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-12T21:53:58Z. --- Thanks for confirming the order. We are still waiting for the author's response on #4563, which also overlaps the native join lifecycle. Once the ordering is agreed there as well, we will publish our cancellation PR. AI-assisted: yes.
muhzain05 commented 2026-10-12 23:17:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by muhzain05 on 2026-10-12T23:17:54Z.


Hi @Roojool — I independently investigated the pthread handle-lifetime issue before seeing #4481, and I won't open a competing PR.

I found two additional cases that may be useful when adapting the join lifecycle after Ondra97's change:

  • Detach during a pending Join: If J is waiting in scePthreadJoin(T) and another thread detaches T, Detach can release the ownership reference while J still waits on T's join condition variable. Source analysis indicates a possible use-after-free. FreeBSD libthr rejects this Detach with EINVAL, but I haven't verified the PS5 behavior.
  • Raise during thread exit: On Windows, sceKernelRaiseException can fail to suspend a target that exits between validation and SuspendThread. I observed this in local stress testing. Detached targets also expose a separate lifetime issue.

I have Windows-only regression tests and concurrency probes covering these scenarios, as well as concurrent joins and cancellation during Join. Happy to share the relevant tests if helpful.

No PS5 or Linux validation was performed.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6134461765 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6134461765). Originally posted by [muhzain05](https://github.com/muhzain05) on 2026-10-12T23:17:54Z. --- Hi @Roojool — I independently investigated the pthread handle-lifetime issue before seeing #4481, and I won't open a competing PR. I found two additional cases that may be useful when adapting the join lifecycle after Ondra97's change: - **Detach during a pending Join:** If J is waiting in `scePthreadJoin(T)` and another thread detaches T, Detach can release the ownership reference while J still waits on T's join condition variable. Source analysis indicates a possible use-after-free. FreeBSD libthr rejects this Detach with `EINVAL`, but I haven't verified the PS5 behavior. - **Raise during thread exit:** On Windows, `sceKernelRaiseException` can fail to suspend a target that exits between validation and `SuspendThread`. I observed this in local stress testing. Detached targets also expose a separate lifetime issue. I have Windows-only regression tests and concurrency probes covering these scenarios, as well as concurrent joins and cancellation during Join. Happy to share the relevant tests if helpful. No PS5 or Linux validation was performed. AI-assisted: yes.
Roojool commented 2026-10-13 06:52:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-13T06:52:59Z.


Thank you for flagging both cases and for avoiding a competing PR. Please share the regression tests and concurrency probes, the exact base commit, and the Windows build/run commands with results or logs. The detach-during-join and cancellation/retry cases would be useful when adapting the lifecycle.

We have agreed to land Ondra97's cancellation correction first; publication is currently waiting for the overlapping #4563 ordering discussion. We have not validated your additional cases ourselves, and the PS5 detach-during-join behavior remains unverified. Please include the raise-during-exit probe too so that it can be assessed separately.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140038087 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6140038087). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-13T06:52:59Z. --- Thank you for flagging both cases and for avoiding a competing PR. Please share the regression tests and concurrency probes, the exact base commit, and the Windows build/run commands with results or logs. The detach-during-join and cancellation/retry cases would be useful when adapting the lifecycle. We have agreed to land Ondra97's cancellation correction first; publication is currently waiting for the overlapping #4563 ordering discussion. We have not validated your additional cases ourselves, and the PS5 detach-during-join behavior remains unverified. Please include the raise-during-exit probe too so that it can be assessed separately. AI-assisted: yes.
muhzain05 commented 2026-10-13 08:03:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by muhzain05 on 2026-10-13T08:03:23Z.


Thank you for flagging both cases and for avoiding a competing PR. Please share the regression tests and concurrency probes, the exact base commit, and the Windows build/run commands with results or logs. The detach-during-join and cancellation/retry cases would be useful when adapting the lifecycle.

We have agreed to land Ondra97's cancellation correction first; publication is currently waiting for the overlapping #4563 ordering discussion. We have not validated your additional cases ourselves, and the PS5 detach-during-join behavior remains unverified. Please include the raise-during-exit probe too so that it can be assessed separately.

AI-assisted: yes.

Thanks @Roojool! I’ll prepare the regression tests, concurrency probes, exact base SHA, and Windows build/run logs.

Would you prefer that I open a small PR against your branch with the tests, or share them as a standalone patch/gist?

I’m happy to contribute the tests directly if that makes integration easier, especially given the coordination with Ondra97 and #4563.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6141111134 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6141111134). Originally posted by [muhzain05](https://github.com/muhzain05) on 2026-10-13T08:03:23Z. --- > Thank you for flagging both cases and for avoiding a competing PR. Please share the regression tests and concurrency probes, the exact base commit, and the Windows build/run commands with results or logs. The detach-during-join and cancellation/retry cases would be useful when adapting the lifecycle. > > > > We have agreed to land Ondra97's cancellation correction first; publication is currently waiting for the overlapping #4563 ordering discussion. We have not validated your additional cases ourselves, and the PS5 detach-during-join behavior remains unverified. Please include the raise-during-exit probe too so that it can be assessed separately. > > > > AI-assisted: yes. > > Thanks @Roojool! I’ll prepare the regression tests, concurrency probes, exact base SHA, and Windows build/run logs. Would you prefer that I open a small PR against your branch with the tests, or share them as a standalone patch/gist? I’m happy to contribute the tests directly if that makes integration easier, especially given the coordination with Ondra97 and #4563. AI-assisted: yes.
Roojool commented 2026-10-13 09:22:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-13T09:22:19Z.


A patch or gist works best for now: this branch will be reworked once #4901's cancellation correction lands (ordering agreed upstream), so tests targeting today's head would need adaptation anyway. Share them standalone with your base SHA and run logs, and we will integrate them with your authorship preserved when the lifecycle update goes in. If a PR is easier for you, one against this branch is also fine — whichever you prefer.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6142425237 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6142425237). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-13T09:22:19Z. --- A patch or gist works best for now: this branch will be reworked once #4901's cancellation correction lands (ordering agreed upstream), so tests targeting today's head would need adaptation anyway. Share them standalone with your base SHA and run logs, and we will integrate them with your authorship preserved when the lifecycle update goes in. If a PR is easier for you, one against this branch is also fine — whichever you prefer.
muhzain05 commented 2026-10-13 11:31:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by muhzain05 on 2026-10-13T11:31:15Z.


Thanks @Roojool! I've prepared the standalone regression tests and concurrency probes as requested.

Evidence package: https://gist.github.com/muhzain05/93cde195edd88b6e6f720f47f7de7dc2

The gist includes a git am patch (0001-…patch, with authorship preserved), standalone probes, Windows build/run commands, and logs.

Base commit: c13dc7e6b (also the base of #4901).

Regression tests

  • guest_pthread_join_detach

    • Tests Detach while another thread is blocked in Join.
    • Expected: EINVAL, matching FreeBSD's thr_detach.c:55-59.
    • PS5 behavior is not verified.
    • If Detach is accepted, the test stops the process while the target remains parked, avoiding the suspected use-after-free.
  • guest_pthread_join_cancel_retry

    • Tests a joiner cancelled while blocked, or with cancellation pending at entry.
    • Verifies that the joiner exits with PTHREAD_CANCELED, leaves its output untouched, and keeps the target joinable.
    • Covers the guest-wait phase; #4901's recovery test covers the native phase.

Additional probes

  • Concurrent joiners: The default mode stops safely once both joiners are blocked. --release-blocked is only safe with #4481's retention fix.
  • Raise during exit: A separate Windows probe using joinable targets to examine exception delivery as a thread finishes.

Windows results

Environment: Windows 11, WinLibs GCC 15.2.0, Release.

  • Detach during Join: Detach was incorrectly accepted in 10/10 runs on each of:
    • Upstream main.
    • Main + #4481 (a2dfbfd34).
    • Main + #4901 (d6f98edac).
  • Cancel/retry: Passes on all three builds. This is a regression guard, not a red-before failure.
  • Concurrent joins: Both joiners reach the blocked state on all three builds. With #4481, 500/500 rounds completed with one successful joiner and the other receiving ESRCH.
  • Raise during exit:
    • Approximately 7% of raises were delivered after _finished was set, bypassing the export's earlier check.
    • "cannot suspend the target thread" occurred approximately once per 60,000–66,000 rounds.

Correction to my earlier comment: The original exception I observed came from my local build with detached targets. On unmodified code with joinable targets, the failure is considerably rarer, as reported above.

Limitations

  • The use-after-free cases are supported by source analysis; I did not execute unsafe use-after-free reproductions.
  • The PS5 return value for Detach during a pending Join is unverified.
  • No Linux or PS5 testing was performed.
  • Exact build commands, run commands, logs, and reproduction instructions are included in the gist's README.

These tests are intended to complement the ongoing #4901 cancellation work and the subsequent #4481 lifecycle changes, rather than introduce a competing implementation.

Happy to help adapt the tests once the lifecycle changes land.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6144570685 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6144570685). Originally posted by [muhzain05](https://github.com/muhzain05) on 2026-10-13T11:31:15Z. --- Thanks @Roojool! I've prepared the standalone regression tests and concurrency probes as requested. **Evidence package:** https://gist.github.com/muhzain05/93cde195edd88b6e6f720f47f7de7dc2 The gist includes a `git am` patch (`0001-…patch`, with authorship preserved), standalone probes, Windows build/run commands, and logs. **Base commit:** `c13dc7e6b` (also the base of #4901). ### Regression tests - **`guest_pthread_join_detach`** - Tests Detach while another thread is blocked in Join. - Expected: `EINVAL`, matching FreeBSD's `thr_detach.c:55-59`. - PS5 behavior is **not verified**. - If Detach is accepted, the test stops the process while the target remains parked, avoiding the suspected use-after-free. - **`guest_pthread_join_cancel_retry`** - Tests a joiner cancelled while blocked, or with cancellation pending at entry. - Verifies that the joiner exits with `PTHREAD_CANCELED`, leaves its output untouched, and keeps the target joinable. - Covers the guest-wait phase; #4901's recovery test covers the native phase. ### Additional probes - **Concurrent joiners:** The default mode stops safely once both joiners are blocked. `--release-blocked` is only safe with #4481's retention fix. - **Raise during exit:** A separate Windows probe using joinable targets to examine exception delivery as a thread finishes. ### Windows results **Environment:** Windows 11, WinLibs GCC 15.2.0, Release. - **Detach during Join:** Detach was incorrectly accepted in 10/10 runs on each of: - Upstream main. - Main + #4481 (`a2dfbfd34`). - Main + #4901 (`d6f98edac`). - **Cancel/retry:** Passes on all three builds. This is a regression guard, not a red-before failure. - **Concurrent joins:** Both joiners reach the blocked state on all three builds. With #4481, 500/500 rounds completed with one successful joiner and the other receiving `ESRCH`. - **Raise during exit:** - Approximately 7% of raises were delivered after `_finished` was set, bypassing the export's earlier check. - `"cannot suspend the target thread"` occurred approximately once per 60,000–66,000 rounds. **Correction to my earlier comment:** The original exception I observed came from my local build with detached targets. On unmodified code with joinable targets, the failure is considerably rarer, as reported above. ### Limitations - The use-after-free cases are supported by source analysis; I did **not** execute unsafe use-after-free reproductions. - The PS5 return value for Detach during a pending Join is unverified. - No Linux or PS5 testing was performed. - Exact build commands, run commands, logs, and reproduction instructions are included in the gist's README. These tests are intended to complement the ongoing #4901 cancellation work and the subsequent #4481 lifecycle changes, rather than introduce a competing implementation. Happy to help adapt the tests once the lifecycle changes land. **AI-assisted:** yes.
Roojool commented 2026-10-14 05:19:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-14T05:19:15Z.


Thank you — the package is exactly what we asked for, and the git am patch with authorship preserved is the easiest form to integrate.

Plan: the branch reworks when #4901's cancellation correction lands (ordering agreed upstream), and your regression tests for detach-during-join and cancellation/retry target that same rework — so we will fold your patch in there, on top of the integrated lifecycle, and credit you as author of those tests. The raise-during-exit probe will be assessed separately at the same time, as discussed.

The needs rebase label is also being handled now: the branch is being rebased onto current main as a base-carry step, ahead of the #4901 integration.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6161492054 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6161492054). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-14T05:19:15Z. --- Thank you — the package is exactly what we asked for, and the `git am` patch with authorship preserved is the easiest form to integrate. Plan: the branch reworks when #4901's cancellation correction lands (ordering agreed upstream), and your regression tests for detach-during-join and cancellation/retry target that same rework — so we will fold your patch in there, on top of the integrated lifecycle, and credit you as author of those tests. The raise-during-exit probe will be assessed separately at the same time, as discussed. The `needs rebase` label is also being handled now: the branch is being rebased onto current `main` as a base-carry step, ahead of the #4901 integration.
copilot-pull-request-reviewer[bot] commented 2026-10-14 05:29:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-14T05:29:38Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5513458878 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#pullrequestreview-5513458878). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-10-14T05:29:38Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Ondra97 commented 2026-10-14 09:17:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Ondra97 on 2026-10-14T09:17:26Z.


Hi @Roojool — a heads-up regarding the plan to wait for #4901: our PR was closed without merging. The maintainer's closing comment asks us to hold PRs without a known affected title while the queue is high, and to reopen with a title ID and a log line showing the issue on current main.

The agreed sequence therefore needs revisiting: #4901 is currently closed, so there is no pending merge for #4481 to wait on. Could we align the next step with the maintainer before continuing on that assumption? The lifecycle adaptation still needs to preserve cancellation/retry behavior, including cancellation during native cleanup; compatibility of the combined changes has not been validated.

AI-assisted: yes — Codex.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6165039012 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6165039012). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-10-14T09:17:26Z. --- Hi @Roojool — a heads-up regarding the plan to wait for #4901: our PR was closed without merging. The maintainer's [closing comment](https://github.com/boykopovar/AnyPS5/pull/4901#issuecomment-6159628445) asks us to hold PRs without a known affected title while the queue is high, and to reopen with a title ID and a log line showing the issue on current main. The agreed sequence therefore needs revisiting: #4901 is currently closed, so there is no pending merge for #4481 to wait on. Could we align the next step with the maintainer before continuing on that assumption? The lifecycle adaptation still needs to preserve cancellation/retry behavior, including cancellation during native cleanup; compatibility of the combined changes has not been validated. AI-assisted: yes — Codex.
Roojool commented 2026-10-14 10:45:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Roojool on 2026-10-14T10:45:08Z.


Thanks for the heads-up. With #4901 closed, the integration plan is shelved: this branch is rebased onto current main and stands on its own evidence — the console-measured second-join ESRCH recorded in TechnicalDebt, and the independently validated use-after-free (the review's control run: SIGSEGV 4/4 on the parent revision with this PR's test, 5/5 at the head).

The cancellation interplay you designed remains recorded in the thread for whenever a lifecycle rework is wanted; muhzain05's regression tests for detach-during-join and cancellation/retry are likewise held for that moment.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6166566475 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6166566475). Originally posted by [Roojool](https://github.com/Roojool) on 2026-10-14T10:45:08Z. --- Thanks for the heads-up. With #4901 closed, the integration plan is shelved: this branch is rebased onto current main and stands on its own evidence — the console-measured second-join `ESRCH` recorded in TechnicalDebt, and the independently validated use-after-free (the review's control run: SIGSEGV 4/4 on the parent revision with this PR's test, 5/5 at the head). The cancellation interplay you designed remains recorded in the thread for whenever a lifecycle rework is wanted; muhzain05's regression tests for detach-during-join and cancellation/retry are likewise held for that moment.
github-actions[bot] commented 2026-10-15 12:06:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:06:28Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6487 core/libs/prx/libkernel/Pthread/include/Pthread.hpp L142
core/libs/prx/libkernel/Pthread/src/Thread.cpp L792-793, L811-812
docs/dev/debt/libkernel.md L146

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 3986 core/libs/prx/libkernel/Pthread/src/Thread.cpp
PR 4972 core/libs/prx/libkernel/CMakeLists.txt
PR 5021 core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/Pthread/include/Pthread.hpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
docs/dev/debt/libkernel.md
PR 5280 core/libs/prx/libkernel/CMakeLists.txt
docs/dev/debt/libkernel.md
PR 5993 core/libs/prx/libkernel/CMakeLists.txt
docs/dev/debt/libkernel.md
PR 6044 core/libs/prx/libkernel/CMakeLists.txt
PR 6222 core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/Pthread/include/Pthread.hpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
docs/dev/debt/libkernel.md
PR 6228 docs/dev/debt/libkernel.md
PR 6510 docs/dev/debt/libkernel.md
PR 6519 docs/dev/debt/libkernel.md
PR 6658 core/libs/prx/libkernel/CMakeLists.txt
docs/dev/debt/libkernel.md
PR 6710 docs/dev/debt/libkernel.md
PR 6836 docs/dev/debt/libkernel.md
PR 6879 core/libs/prx/libkernel/Pthread/src/Thread.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191646713 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4481#issuecomment-6191646713). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:06:28Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6487](https://www.github.com/boykopovar/AnyPS5/pull/6487) | `core/libs/prx/libkernel/Pthread/include/Pthread.hpp` [L142](https://github.com/boykopovar/AnyPS5/blob/ea4cc112a04e6144740756bcd6494bbab5377331/core/libs/prx/libkernel/Pthread/include/Pthread.hpp#L142)<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp` [L792-793](https://github.com/boykopovar/AnyPS5/blob/ea4cc112a04e6144740756bcd6494bbab5377331/core/libs/prx/libkernel/Pthread/src/Thread.cpp#L792-L793), [L811-812](https://github.com/boykopovar/AnyPS5/blob/ea4cc112a04e6144740756bcd6494bbab5377331/core/libs/prx/libkernel/Pthread/src/Thread.cpp#L811-L812)<br>`docs/dev/debt/libkernel.md` [L146](https://github.com/boykopovar/AnyPS5/blob/ea4cc112a04e6144740756bcd6494bbab5377331/docs/dev/debt/libkernel.md#L146) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 3986](https://www.github.com/boykopovar/AnyPS5/pull/3986) | `core/libs/prx/libkernel/Pthread/src/Thread.cpp` | | [PR 4972](https://www.github.com/boykopovar/AnyPS5/pull/4972) | `core/libs/prx/libkernel/CMakeLists.txt` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/Pthread/include/Pthread.hpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 5280](https://www.github.com/boykopovar/AnyPS5/pull/5280) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`docs/dev/debt/libkernel.md` | | [PR 5993](https://www.github.com/boykopovar/AnyPS5/pull/5993) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`docs/dev/debt/libkernel.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libkernel/CMakeLists.txt` | | [PR 6222](https://www.github.com/boykopovar/AnyPS5/pull/6222) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/Pthread/include/Pthread.hpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6228](https://www.github.com/boykopovar/AnyPS5/pull/6228) | `docs/dev/debt/libkernel.md` | | [PR 6510](https://www.github.com/boykopovar/AnyPS5/pull/6510) | `docs/dev/debt/libkernel.md` | | [PR 6519](https://www.github.com/boykopovar/AnyPS5/pull/6519) | `docs/dev/debt/libkernel.md` | | [PR 6658](https://www.github.com/boykopovar/AnyPS5/pull/6658) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`docs/dev/debt/libkernel.md` | | [PR 6710](https://www.github.com/boykopovar/AnyPS5/pull/6710) | `docs/dev/debt/libkernel.md` | | [PR 6836](https://www.github.com/boykopovar/AnyPS5/pull/6836) | `docs/dev/debt/libkernel.md` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `core/libs/prx/libkernel/Pthread/src/Thread.cpp` |
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4481
No description provided.