开发者

Multi threading for my MFC C++ .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-th开发者_如何学Creading and implement in my application?

Thanks in advance.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜