Bitcoin Core 29.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
mp::ProxyServer< Thread > Struct Referencefinal

#include <proxy-io.h>

Inheritance diagram for mp::ProxyServer< Thread >:
[legend]
Collaboration diagram for mp::ProxyServer< Thread >:
[legend]

Public Member Functions

 ProxyServer (ThreadContext &thread_context, std::thread &&thread)
 
 ~ProxyServer ()
 
kj::Promise< void > getName (GetNameContext context) override
 

Public Attributes

ThreadContextm_thread_context
 
std::thread m_thread
 

Detailed Description

Definition at line 79 of file proxy-io.h.

Constructor & Destructor Documentation

◆ ProxyServer()

mp::ProxyServer< Thread >::ProxyServer ( ThreadContext thread_context,
std::thread &&  thread 
)

Definition at line 330 of file proxy.cpp.

Here is the call graph for this function:

◆ ~ProxyServer()

mp::ProxyServer< Thread >::~ProxyServer ( )

Reset thread context waiter pointer, as shutdown signal for done lambda passed as waiter->wait() argument in makeThread code below.

Assert waiter is idle. This destructor shouldn't be getting called if it is busy.

Ping waiter.

Definition at line 336 of file proxy.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getName()

kj::Promise< void > mp::ProxyServer< Thread >::getName ( GetNameContext  context)
override

Definition at line 365 of file proxy.cpp.

Member Data Documentation

◆ m_thread

std::thread mp::ProxyServer< Thread >::m_thread

Definition at line 86 of file proxy-io.h.

◆ m_thread_context

ThreadContext& mp::ProxyServer< Thread >::m_thread_context

Definition at line 85 of file proxy-io.h.


The documentation for this struct was generated from the following files: