Re: About GIL Questions!

2013-06-20 Thread Joshua Landau
On 20 June 2013 05:13, Thanatos xiao yanxiaopei...@gmail.com wrote: Hey everyone! Recently I see the python source code, but i still not understand about gil. first, why single core quicker multi-core ? Chris Angelico touched on your other points, but not this as clearly; Python threads run

About GIL Questions!

2013-06-19 Thread Thanatos xiao
Hey everyone! Recently I see the python source code, but i still not understand about gil. first, why single core quicker multi-core ? who can explan this in bottom layery ? second, what the different between the mult-core and the single core to schecule threads? thanks! Forgive me bad english!

Re: About GIL Questions!

2013-06-19 Thread Chris Angelico
On Thu, Jun 20, 2013 at 2:13 PM, Thanatos xiao yanxiaopei...@gmail.com wrote: Hey everyone! Recently I see the python source code, but i still not understand about gil. first, why single core quicker multi-core ? who can explan this in bottom layery ? second, what the different between the