Skip to content

Why does mlua hold a lua state lock across an entire resume call #616

@cheesycod

Description

@cheesycod

Been trying to debug a strange locking issue in send mode and found that mlua seems to hold a lock around lua across en entire Thread::resume call. Won't this lead to issues if another thread tries to perform operations on the lua VM while in a lua thread resume [aka, shouldnt mlua release the lock before the resume and then relock or am I not seeing it correctly]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions