spmsg_t recv(bool wait_ = false) { spmsg_t msg; recv_queue.pop(msg, wait_); return msg; }
// Server interaction functions int comm_send( msg_t msg ) { msg.send_ID = NODE_INFO.id; comm_send_q.push( msg ); return 0; }
bool send(spmsg_t msg_) { send_queue.push(std::move(msg_)); return true; }