Skip to content

ThreadMan: mutexes and lwmutexes are not released when their owner thread exits #8

Closed

Description

@endercodezz

[VERIFIED] (unit-test repro, deadlock) When a thread exits or is deleted while it owns a mutex or lwmutex, the mutex stays locked, so its waiters never wake. PPSSPP releases them. Confirm the PSP behaviour against pspautotests threads/mutex before changing it.

Done when: there's a regression test (owner exits with waiters), and new_game.txt replays unchanged.


Source: docs/CURRENT_STATE.md, "Code review".

Activity

  1. added
    bug
    area: hle
    on Nov 4, 2026
  2. modified the milestones: 0.4.0, v0.3.4 on Nov 4, 2026
  3. github-actions commented on Nov 6, 2026

    @github-actions
    Contributor

    Closed by #90.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: hlebug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions