pub type PyMutex<T> = PyMutex<T>;👎Deprecated since 0.30.0:
moved to pyo3::sync::PyMutex
Available on
Py_3_13 and non-Py_LIMITED_API only.Expand description
Deprecated alias for crate::sync::PyMutex.
Aliased Type§
pub struct PyMutex<T> {
pub(crate) mutex: UnsafeCell<PyMutex>,
poison: Flag,
pub(crate) data: UnsafeCell<T>,
}Fields§
§mutex: UnsafeCell<PyMutex>§poison: Flag§data: UnsafeCell<T>