3 ms·
As we are in the <pedantic> sub-thread, we can point out that actually a Python process can use more than one core at the same time, just trying to acquire the
by willvarfar 15y ago
As we are in the <pedantic> sub-thread, we can point out that actually a Python process can use more than one core at the same time, just trying to acquire the GIL.
This is how Python programs can show up using more than 100% CPU in `top`.
http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2010-understanding-the-python-gil-82-3273690 http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2010-und... covers this