Skip to content

Make Python async API thread-safe #454

@pentschev

Description

@pentschev

The UCXX implementation is intended to allow thread-safe Python operations, at least when using the progress thread. However, at least at the high-level the API is currently not thread-safe.

Consider for example the case of start_notifier_thread/stop_notifier_thread, one thread may pause just before starting the thread, and another destroy the thread object, which would lead to call start() on an object of NoneType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingucxx

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions