我的 MFC C++ 的多线程.dll
目前,我正在使用 python 脚本访问 MFC C++ dll,到目前为止一切正常。我的下一步是不断访问我的.dll并同时对其进行各种操作,我认为“多线程”是一个非常好的选择。你们能给我推荐一些好的链接来学习多线程并在我的应用程序中实现吗?
提前致谢。
Currently I am accessing my MFC C++ dll using my python script and everything works well so far. My next step is to continuously access my .dll and carry on various operations with it simultaneously from which I feel "Multi-threading" is a very good option. Could you guys suggest me any good links to learn on multi-threading and implement in my application?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您对多线程、Python 还是 MFC 哪一方面感兴趣?如果是Python,请考虑多进程,因为Python GIL问题。
http://www.dabeaz.com/python/UnderstandingGIL.pdf
http://wiki.python.org/moin/GlobalInterpreterLock
如果是 Windows,我可以凭记忆帮助你一点。如果您告诉更多,我们可以更好地帮助您。
[编辑]
如果这是一个 MFC 问题,您可能需要添加一个标签。
On which side of things are you interested in multi-threading, Python or MFC? If Python, consider multi-process, because of the Python GIL issue.
http://www.dabeaz.com/python/UnderstandingGIL.pdf
http://wiki.python.org/moin/GlobalInterpreterLock
If windows, I can help you a little bit from memory. If you tell more, we can help you better.
[Edit]
If this is an MFC question, you might want to add a tag.
我猜本教程会对您考虑您的计划有很大帮助做。此外,您可以查看 ctypes 以您想要的方式执行操作。
I am guessing this tutorial would of great help to you considering what you are planning to do. Additionally, you can look into ctypes for carrying out the operations the way you want.