zeromq4.2.3发送堆栈

这篇博客详细记录了ZeroMQ 4.2.3在主线程和工作线程中进行消息发送和接收的堆栈跟踪。主线程涉及到send_command、pipe_t的read和write操作,以及socket_base_t的send和recv方法。工作线程的接收堆栈主要在tcp_read、stream_engine_t的in_event和epoll_t的loop中。堆栈信息对于理解和优化ZeroMQ的消息处理流程至关重要。
摘要由CSDN通过智能技术生成
  • 主线程发送堆栈1:

#0  zmq::mailbox_t::send (this=0x3a439b90, cmd_=...) at src/mailbox.cpp:62
#1  0x0000007f97d01de4 in send_command (cmd_=..., this=<optimized out>) at src/object.cpp:474
#2  zmq::object_t::send_pipe_term_ack (this=this@entry=0x3a44c320, destination_=<optimized out>) at src/object.cpp:299
#3  0x0000007f97d05a18 in zmq::pipe_t::process_delimiter (this=0x3a44c320) at src/pipe.cpp:488
#4  0x0000007f97d05c64 in zmq::pipe_t::read (this=this@entry=0x3a44c320, msg_=msg_@entry=0x7fe2009ae0) at src/pipe.cpp:193
#5  0x0000007f97d0ef0c in zmq::router_t::identify_peer (this=this@entry=0x3a43a360, pipe_=pipe_@entry=0x3a44c320) at src/router.cpp:493
#6  0x0000007f97d0f328 in zmq::router_t::xread_activated (this=0x3a43a360, pipe_=0x3a44c320) at src/router.cpp:174
#7  0x0000007f97d13fe8 in zmq::socket_base_t::process_commands (this=this@entry=0x3a43a360, timeout_=timeout_@entry=0, throttle_=throttle_@entry=true) at src/socket_base.cpp:1378
#8  0x0000007f97d144c8 in zmq::socket_base_t::send (this=this@entry=0x3a43a360, msg_=msg_@entry=0x7fe200a058, flags_=flags_@entry=0) at

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值