Dedicated CPU core for Python?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Thu Apr 26 18:07:06 EDT 2007
En Thu, 26 Apr 2007 15:54:38 -0300, Joshua J. Kugler
<joshua at eeinternet.com> escribió:
> Are you talking about CPU affinity
> (http://en.wikipedia.org/wiki/Processor_affinity) or an actual CPU that
> can directory execute Python byte code? If the former, CPython only
> uses one
> CPU core right now because it's threads are all internal, and do not
> spawn system threads (IIRC).
Python threads are OS threads:
http://docs.python.org/lib/module-thread.html
"[The thread module] is supported on Windows, Linux, SGI IRIX, Solaris
2.x, as well as on systems that have a POSIX thread (a.k.a. ``pthread'')
implementation."
--
Gabriel Genellina
More information about the Python-list
mailing list