Skip to content

Python::with_gil() may block executor threads #117

@HyeonuPark

Description

@HyeonuPark

Currently future_into_py() spawns task to rust runtime and do Python::with_gil(... within it. It may block the current executor thread if the python runtime is highly utilized or some long-running python code is occupying the lock. Would this be a room for improvement, or a known non-issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions