You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand it RawMutex uses its current address as a key into parking_lot_core methods.
Therefore RawMutex value itself cannot be moved while lock is acquired.
This is not a problem for a Mutex because it is borrowed while lock is held, preventing moving. But I don't see this in documentation for RawMutex that might be used directly.
The text was updated successfully, but these errors were encountered:
As far as I understand it
RawMutex
uses its current address as a key intoparking_lot_core
methods.Therefore
RawMutex
value itself cannot be moved while lock is acquired.This is not a problem for a
Mutex
because it is borrowed while lock is held, preventing moving. But I don't see this in documentation forRawMutex
that might be used directly.The text was updated successfully, but these errors were encountered: