CIRCT
19.0.0git
|
#include "cosim/Server.h"
#include "CosimDpi.capnp.h"
#include <capnp/ez-rpc.h>
#include <thread>
#include <unistd.h>
Go to the source code of this file.
Functions | |
static void | writePort (uint16_t port) |
Write the port number to a file. More... | |
|
static |
Write the port number to a file.
Necessary when we allow 'EzRpcServer' to select its own port. We can't use stdout/stderr because the flushing semantics are undefined (as in flush()
doesn't work on all simulators).
Definition at line 251 of file Server.cpp.
Referenced by esi::cosim::RpcServer::mainLoop().