python threads on multi-CPU machines

Thomas Womack twomack at chiark.greenend.org.uk
Mon Aug 18 08:19:45 CEST 2003


If I have a dual-processor hyperthreaded machine (so with four CPU
contexts), will a python program distribute threads over all four
logical processors?

I ask because I'm fairly sure that this *does* happen using the
threading extensions in MFC, and fairly sure that it *doesn't* when
using Java, so I don't see that the result is obvious for python.

Tom




More information about the Python-list mailing list