Adding subject to the message.



Sent from Samsung Mobile on O2

-------- Original message --------
From: marcinmltd <marcinm...@gmail.com> 
Date:  
To: python-list@python.org 
Subject:  
 
Hello,

I'm big fan of multiprocessing module, but recently I started looking at 
threading in Python more closely and got couple of questions I hope You can 
help me with:

1. When I run two or more threads in my python process are they really run 
concurrently on mulicore machine?

2. Browsing through documentation it looks like python interpreter protects its 
sensitive states by using GIL. Can you guys list situations when this happens?

2. What would be general advice from python experts on when to use threadng and 
when switch to multliprocessing in python? Is the decision still influenced by 
how often we need to comunicate between the tasks as it's in C\C++?

thanks in advance for help!
Marcin


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to