MCPcopy Create free account
hub / github.com/boostorg/asio / stop

Method stop

example/cpp20/channels/mutual_exclusion_2.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71private:
72 void stop()
73 {
74 socket_.close();
75 write_lock_.cancel();
76 }
77
78 awaitable<void> handle_messages()
79 {

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected