Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
71
private:
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
close
Method · 0.45
cancel
Method · 0.45
Tested by
no test coverage detected