Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::eosvmoc::compile_monitor_trampoline Struct Reference

Public Member Functions

void start ()
 

Public Attributes

pid_t compile_manager_pid = -1
 
int compile_manager_fd = -1
 

Detailed Description

Definition at line 278 of file compile_monitor.cpp.

Member Function Documentation

◆ start()

void sysio::chain::eosvmoc::compile_monitor_trampoline::start ( )
inline

Definition at line 279 of file compile_monitor.cpp.

279 {
280 //create communication socket; let's hold off on asio usage until all forks are done
281 int socks[2];
282 socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, socks);
283 compile_manager_fd = socks[0];
284
285 compile_manager_pid = fork();
286 if(compile_manager_pid == 0) {
287 close(socks[0]);
288 launch_compile_monitor(socks[1]);
289 }
290 close(socks[1]);
291 }
void close(T *e, websocketpp::connection_hdl hdl)
void launch_compile_monitor(int nodeop_fd)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ compile_manager_fd

int sysio::chain::eosvmoc::compile_monitor_trampoline::compile_manager_fd = -1

Definition at line 294 of file compile_monitor.cpp.

◆ compile_manager_pid

pid_t sysio::chain::eosvmoc::compile_monitor_trampoline::compile_manager_pid = -1

Definition at line 293 of file compile_monitor.cpp.


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