sync_win.v : Add a Missing Closing Bracket
parent
094f097e26
commit
082098ab67
|
@ -84,7 +84,7 @@ pub fn (m mut Mutex) unlock() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m.wstate = BROKEN
|
m.wstate = BROKEN
|
||||||
|
}
|
||||||
|
|
||||||
pub fn (m mut Mutex) destroy() {
|
pub fn (m mut Mutex) destroy() {
|
||||||
if m.wstate == WAIT {
|
if m.wstate == WAIT {
|
||||||
|
@ -92,4 +92,4 @@ pub fn (m mut Mutex) destroy() {
|
||||||
}
|
}
|
||||||
m.wstate = DESTROYED // setting up reference to invalid state
|
m.wstate = DESTROYED // setting up reference to invalid state
|
||||||
C.CloseHandle(m.mx) // destroy mutex
|
C.CloseHandle(m.mx) // destroy mutex
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue