Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
Namespaces
listen_tests.cpp File Reference
#include "common.h"
#include "unixlistener.h"
#include <mp/test/foo.capnp.h>
#include <mp/test/foo.capnp.proxy.h>
#include <chrono>
#include <compare>
#include <condition_variable>
#include <cstring>
#include <future>
#include <functional>
#include <kj/async.h>
#include <kj/common.h>
#include <kj/debug.h>
#include <kj/function.h>
#include <kj/memory.h>
#include <kj/test.h>
#include <memory>
#include <mp/proxy.h>
#include <mp/proxy-io.h>
#include <mp/util.h>
#include <ratio>
#include <optional>
#include <string>
#include <thread>
#include <unistd.h>
Include dependency graph for listen_tests.cpp:

Go to the source code of this file.

Namespaces

namespace  mp
 Functions to serialize / deserialize common bitcoin types.
 
namespace  mp::test
 

Variable Documentation

◆ client

std::unique_ptr<ProxyClient<messages::FooInterface> > client

Definition at line 61 of file listen_tests.cpp.

◆ client_promise

std::promise<std::unique_ptr<ProxyClient<messages::FooInterface> > > client_promise

Definition at line 60 of file listen_tests.cpp.

◆ counter_cv

Definition at line 140 of file listen_tests.cpp.

◆ counter_mutex

Mutex counter_mutex

Definition at line 139 of file listen_tests.cpp.

◆ listener

UnixListener listener

Definition at line 136 of file listen_tests.cpp.

◆ m_loop_ref

std::optional<EventLoopRef> m_loop_ref

Definition at line 138 of file listen_tests.cpp.

◆ ready_promise

std::promise<void> ready_promise

Definition at line 137 of file listen_tests.cpp.

◆ thread

std::thread thread

Thread variable should be after other struct members so the thread does not start until the other members are initialized.

Definition at line 65 of file listen_tests.cpp.