Skip to content

Possibility of deadlock, when there is other work in the threadpool #1

Open
@ondrasouk

Description

@ondrasouk

In the connectivity::‎DisjointSet::flatten, there is std:sync::Barrier useage in a Rayon threadpool.

This is not good, since it can deadlock the whole process.

This actually is a problem since it causes flaky tests (tests by-default runs in parallel).

For now the workaround is to use separate threadpool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions