Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/libs/tests/GuestPthreadReleasedHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ static void* APS5_VABI Wait(void* opaque) {

static void WaitUntilReleased(Pthread thread) {
const auto deadline = std::chrono::steady_clock::now() + std::chrono::seconds(5);
int priority = 0;
while (scePthreadGetprio(thread, &priority) != SCE_KERNEL_ERROR_ESRCH) {
char name[64];
while (pthread_getname_np_nid_postfix(thread, name) != GUEST_ESRCH) {
Require(std::chrono::steady_clock::now() < deadline);
std::this_thread::yield();
}
Expand Down
Loading