| 47 | } |
| 48 | |
| 49 | void ActorMsgBus::SendMsgWithoutCommNet(const ActorMsg& msg) { |
| 50 | CHECK_EQ(MachineId4ActorId(msg.dst_actor_id()), GlobalProcessCtx::Rank()); |
| 51 | int64_t thrd_id = ThrdId4ActorId(msg.dst_actor_id()); |
| 52 | Singleton<ThreadMgr>::Get()->GetThrd(thrd_id)->EnqueueActorMsg(msg); |
| 53 | } |
| 54 | |
| 55 | void ActorMsgBus::SendMsgsWithoutCommNet(const ActorMsg* msgs, size_t n, int64_t thrd_id) { |
| 56 | Singleton<ThreadMgr>::Get()->GetThrd(thrd_id)->EnqueueActorMsg(msgs, msgs + n); |
no test coverage detected