MCPcopy Index your code
hub / github.com/RustPython/RustPython / mark_as_completed

Function mark_as_completed

crates/stdlib/src/overlapped.rs:273–278  ·  view source on GitHub ↗
(ov: &mut OVERLAPPED)

Source from the content-addressed store, hash-verified

271 }
272
273 fn mark_as_completed(ov: &mut OVERLAPPED) {
274 ov.Internal = 0;
275 if !ov.hEvent.is_null() {
276 unsafe { windows_sys::Win32::System::Threading::SetEvent(ov.hEvent) };
277 }
278 }
279
280 fn set_from_windows_err(err: u32, vm: &VirtualMachine) -> PyBaseExceptionRef {
281 let err = if err == 0 {

Callers 7

ReadFileMethod · 0.85
ReadFileIntoMethod · 0.85
WSARecvMethod · 0.85
WSARecvIntoMethod · 0.85
ConnectNamedPipeMethod · 0.85
WSARecvFromMethod · 0.85
WSARecvFromIntoMethod · 0.85

Calls 1

SetEventFunction · 0.70

Tested by

no test coverage detected