Skip to content

Commit

Permalink
MsgSelf: why MsgCB than WeakMsgCB
Browse files Browse the repository at this point in the history
  • Loading branch information
fchn289 committed Jul 14, 2023
1 parent 8213f01 commit b38eef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msg_self/MsgSelf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
// . syscom may ensure speed ? ?
// . (conclusion: async for product, direct-CB for UT)
// - why MsgCB instead of WeakMsgCB in msgQueues_?
// . most users want MsgSelf store their cb (naturally)
// . while only a few want to be able to withdraw cb in msgQueues_ (eg HdlrDomino)
// . most users want MsgSelf (instead of themselves) to store cb (naturally; so MsgCB is better)
// . while only a few want to be able to withdraw cb in msgQueues_ (eg HdlrDomino; so WeakMsgCB is better)
// ***********************************************************************************************
#ifndef MSG_SELF_HPP_
#define MSG_SELF_HPP_
Expand Down

0 comments on commit b38eef0

Please sign in to comment.