Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Stackless does not use the interpreter head lock. #120

@ghost

Description

Originally reported by: Anselm Kruis (Bitbucket: akruis, GitHub: akruis)


Affected versions: all

Stackless accesses the interpreter->tstate_head list of thread states. This list is protected by the head-lock in pystate.c. Currently stackless ignores this lock. This can cause undefined behaviour, especially during interpreter shutdown. However I have not seen this in the wild.
Nevertheless I would like to fix this issue, because the fix is straight forward.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions