![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
#include <proxy-io.h>
Public Attributes | |
std::string | thread_name |
Identifying string for debug. More... | |
std::unique_ptr< Waiter > | waiter = nullptr |
Waiter object used to allow client threads blocked waiting for a server response to execute callbacks made from the client's corresponding server thread. More... | |
ConnThreads | callback_threads |
When client is making a request to a server, this is the callbackThread argument it passes in the request, used by the server in case it needs to make callbacks into the client that need to execute while the client is waiting. More... | |
ConnThreads | request_threads |
When client is making a request to a server, this is the thread argument it passes in the request, used to control which thread on server will be responsible for executing it. More... | |
bool | loop_thread = false |
Whether this thread is a capnp event loop thread. More... | |
Definition at line 528 of file proxy-io.h.
ConnThreads mp::ThreadContext::callback_threads |
When client is making a request to a server, this is the callbackThread
argument it passes in the request, used by the server in case it needs to make callbacks into the client that need to execute while the client is waiting.
This will be set to a local thread object.
Definition at line 542 of file proxy-io.h.
bool mp::ThreadContext::loop_thread = false |
Whether this thread is a capnp event loop thread.
Not really used except to assert false if there's an attempt to execute a blocking operation which could deadlock the thread.
Definition at line 556 of file proxy-io.h.
ConnThreads mp::ThreadContext::request_threads |
When client is making a request to a server, this is the thread
argument it passes in the request, used to control which thread on server will be responsible for executing it.
If client call is being made from a local thread, this will be a remote thread object returned by makeThread. If a client call is being made from a thread currently handling a server request, this will be set to the callbackThread
request thread argument passed in that request.
Definition at line 551 of file proxy-io.h.
std::string mp::ThreadContext::thread_name |
Identifying string for debug.
Definition at line 531 of file proxy-io.h.
std::unique_ptr<Waiter> mp::ThreadContext::waiter = nullptr |
Waiter object used to allow client threads blocked waiting for a server response to execute callbacks made from the client's corresponding server thread.
Definition at line 536 of file proxy-io.h.