rx: shared_cv/shared_mtx disable copying/moving

This commit is contained in:
DH 2025-10-06 01:55:11 +03:00
parent be56f0745a
commit fd9bf42538
2 changed files with 2 additions and 0 deletions

View file

@ -46,6 +46,7 @@ protected:
public:
constexpr shared_cv() = default;
shared_cv(const shared_cv &) = delete;
std::errc
wait(std::unique_lock<shared_mutex> &lock,

View file

@ -27,6 +27,7 @@ class shared_mutex final {
public:
constexpr shared_mutex() = default;
shared_mutex(const shared_mutex &) = delete;
bool try_lock_shared() {
// Conditional increment