Skip to content

race condition with uv.new_work() #826

Description

@FelipeLema

Hi, there

I'm using luv within a neovim plugin; using new_work() has a race condition that ends up with an abort() in the separate thread.

Some users have been able to reproduce it here using neovim: https://codeberg.org/FelipeLema/cmp-async-path/issues/29

In that issue you can check further info (optimized stacktrace, "it is not the use of vim module in separate thread")

I dunno if it helps, but... can consecutive calls to new_work() be done without problems? (this is the first problem I can think of right now, but no evidence that points to it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions