Skip to content

Add mutexes to all calls in std::rl #4758

@brson

Description

@brson

This module is unsafe because the linenoise library is not threadsafe. Use core::private::global_data to store a global std::sync::Mutex and use that mutex to protect all the calls in rl.

Then make all the functions safe: #3921

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-concurrencyArea: ConcurrencyE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions