Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

鸿蒙适配,消息队列阻塞 #1271

Open
xiaohaoxh opened this issue May 28, 2024 · 0 comments
Open

鸿蒙适配,消息队列阻塞 #1271

xiaohaoxh opened this issue May 28, 2024 · 0 comments

Comments

@xiaohaoxh
Copy link

void LongLink::__ConnectStatus(TLongLinkStatus _status) { if (_status == connectstatus_) return; xinfo2(TSF "connect status from:%0 to:%1, nettype:%_", connectstatus_, _status, ::getNetInfo()); connectstatus_ = _status; __NotifySmartHeartbeatConnectStatus(connectstatus_); if (kConnected == connectstatus_ && fun_network_report_) fun_network_report_(__LINE__, kEctOK, 0, conn_profile_.ip, conn_profile_.port); STATIC_RETURN_SYNC2ASYNC_FUNC(boost::bind(boost::ref(SignalConnection), connectstatus_, config_.name)); }
STATIC_RETURN_SYNC2ASYNC_FUNC(boost::bind(boost::ref(SignalConnection), connectstatus_, config_.name)),将此任务丢到消息队列中执行后,会出现阻塞情况,偶现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant