Python Forum

Full Version: Embedding python cause crash when use boost::asio multi threading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there!

I have a problem.

The program is that, im using embeded python in my c++ project (Win32), it is okay, but when i use boost::asio socket in that project, sometime the program crashes on start.

What can be the problem, can someone gives me a tip for solve this problem? Maybe multi threading problem?

The asio and python module uses same class in memory, can it be problem?


Thank your for all!