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

该项目是否基于channel串行处理的?每个channel是不是不能并发处理扫描、连接任务的? #220

Open
taolunyifan opened this issue Dec 13, 2019 · 1 comment

Comments

@taolunyifan
Copy link

该项目是否基于channel串行处理的?每个channel是不是不能并发处理扫描、连接任务的?
貌似无法做到并行处理多个channel同时处理扫描,连接的回调,需要先处理完一个channel的扫描,连接后再切换到另外一个channel处理扫描,连接。(例如一个app一启动就需要同时以最快的速度扫描连接车辆、手环、手表、并且他们的处理逻辑都是独立很大差别的,如果必须一个一个串行的处理时间太长了)
如果是这样自己很多需要同时处理多个外设的app的扫描和连接,该工程就不适用了,希望可以增加并发处理多个channel的实现
@pantaopt
Copy link

自己处理,这说白了不就是多线程吗,我们自己处理的。

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

2 participants