MCPcopy Create free account
hub / github.com/3rdparty/libprocess / stop

Method stop

src/windows/libwinio.cpp:335–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334
335Try<Nothing> EventLoop::stop()
336{
337 const BOOL success =
338 ::PostQueuedCompletionStatus(iocp_handle_.get(), 0, KEY_QUIT, nullptr);
339
340 if (success) {
341 return Nothing();
342 }
343
344 return WindowsError();
345}
346
347
348Try<Nothing> EventLoop::launchTimer(

Callers 5

TEST_FFunction · 0.45
runMethod · 0.45
TESTFunction · 0.45
TEST_PFunction · 0.45
TESTFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 5

TEST_FFunction · 0.36
runMethod · 0.36
TESTFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36