pub struct Gutex<T> { /* private fields */ }Expand description
Member of a GutexGroup.
Either lock on this type will lock the same mutex in the group. Lock on the group always grant
an exclusive access to the whole group. Let’s say thread A call Gutex::read() then thread B
try to call this method on the same group. The result is thread B will wait for thread A to
unlock the group.