Formatting.
This commit is contained in:
parent
93310efdbe
commit
09cbaf4367
|
@ -129,11 +129,7 @@ impl Mutex {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn kind() -> Kind {
|
fn kind() -> Kind {
|
||||||
if c::AcquireSRWLockExclusive::is_available() {
|
if c::AcquireSRWLockExclusive::is_available() { Kind::SRWLock } else { Kind::CriticalSection }
|
||||||
Kind::SRWLock
|
|
||||||
} else {
|
|
||||||
Kind::CriticalSection
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct ReentrantMutex {
|
pub struct ReentrantMutex {
|
||||||
|
|
Loading…
Reference in New Issue