MCPcopy Create free account
hub / github.com/RustPython/RustPython / ReleaseMutex

Function ReleaseMutex

crates/vm/src/stdlib/_winapi.rs:731–733  ·  view source on GitHub ↗
(handle: WinHandle)

Source from the content-addressed store, hash-verified

729
730 #[pyfunction]
731 fn ReleaseMutex(handle: WinHandle) -> WindowsSysResult<i32> {
732 WindowsSysResult(unsafe { windows_sys::Win32::System::Threading::ReleaseMutex(handle.0) })
733 }
734
735 // LOCALE_NAME_INVARIANT is an empty string in Windows API
736 #[pyattr]

Callers

nothing calls this directly

Calls 1

WindowsSysResultClass · 0.85

Tested by

no test coverage detected