MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ThreadMapPort

Function ThreadMapPort

src/mapport.cpp:123–128  ·  view source on GitHub ↗

\anchor mapport

Source from the content-addressed store, hash-verified

121
122/// \anchor mapport
123static void ThreadMapPort()
124{
125 do {
126 ProcessPCP();
127 } while (g_mapport_interrupt.sleep_for(PORT_MAPPING_RETRY_PERIOD));
128}
129
130void StartThreadMapPort()
131{

Callers

nothing calls this directly

Calls 2

ProcessPCPFunction · 0.85
sleep_forMethod · 0.45

Tested by

no test coverage detected