lichao
2021-03-30 491d98b3ba32cafed5682552bd870ca0ef93275c
src/shm_queue.h
@@ -120,7 +120,10 @@
    bool Recv(BHMsg &msg, const int timeout_ms);
    bool Recv(MsgI &msg, const int timeout_ms) { return Read(msg, timeout_ms); }
    bool Send(const MQId &remote_id, const BHMsg &msg, const int timeout_ms);
    bool Send(const MQId &remote_id, const MsgI &msg, const int timeout_ms);
    static bool Send(SharedMemory &shm, const MQId &remote_id, const MsgI &msg, const int timeout_ms);
    bool Send(const MQId &remote_id, const MsgI &msg, const int timeout_ms) {
        return Send(shm(), remote_id, msg, timeout_ms);
    }
};
} // namespace bhome_shm