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

订阅行情时的线程管理问题 #8

Open
xzy29 opened this issue Sep 14, 2024 · 1 comment
Open

订阅行情时的线程管理问题 #8

xzy29 opened this issue Sep 14, 2024 · 1 comment

Comments

@xzy29
Copy link

xzy29 commented Sep 14, 2024

你好,我在用封装的java ctp api写订阅行情的demo的时候,发现每次接受最新行情的时候都会创建一个新的线程,这个是为什么呢?
problem

@RationalityFrontline
Copy link
Member

因为 swig 在处理 c++ 回调方法的时候就是会每次在 java 中新建一个线程的

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