Add mutexes to all calls in std::rl #4758
Labels
A-concurrency
Area: Concurrency
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
This module is unsafe because the linenoise library is not threadsafe. Use
core::private::global_data
to store a globalstd::sync::Mutex
and use that mutex to protect all the calls inrl
.Then make all the functions safe: #3921
The text was updated successfully, but these errors were encountered: