pub type PyDetachingRwLock<T> = RwLock<RawDetachingRwLock, T>;Expand description
A PyRwLock for data a thread may hold locked across a blocking call.
Waiting for one of these leaves the interpreter first, so a thread blocked
on it is a thread stop-the-world can park. That is only safe where a
collection never takes the same lock — see RawDetachingRwLock — so this
is opt-in per lock rather than what every PyRwLock does.
Aliased Type§
pub struct PyDetachingRwLock<T> { /* private fields */ }