By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,589 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,589 IT Pros & Developers. It's quick & easy.

Scaling on multi-processor machine

P: n/a
Hello,
GIL prevents my C++ application embedding and extending python to scale even
though I spawn multiple C++ threads. I read lot of references on internet
about using multiple processes rather than threads.

In that direction I was searching for some examples/resources/tools which
can help me create multi-process implementation. My application does need to
pass userdefined class objects to python interpreter. So I guess my
implementation is going to need a protocol to marshal, de-marshal python
objects between processes or use shared memory.

Does anyone here know of any examples/tools to implement the multi-processes
approach with the object/data transfer between the processes ?
Atul Kshirsagar


Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <ma*************************************@python.or g>,
Atul Kshirsagar <at*************@firstlogic.com> wrote:

GIL prevents my C++ application embedding and extending python to scale even
though I spawn multiple C++ threads. I read lot of references on internet
about using multiple processes rather than threads.


You're not getting any scaling, or you're not getting enough scaling?
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

Adopt A Process -- stop killing all your children!
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.