Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9599

Re: Python threading/multiprocessing issue.

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Python threading/multiprocessing issue.
Date 2011-07-15 22:15 -0700
Organization > Bestiaria Support Staff <
References <SNT106-W28C92B220F97ABFE97E73CB1490@phx.gbl> <CAPTjJmoHWOgbt_cHwtbOm7w9Mz8uJGaK+tCfd54y-psxd-4A9w@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1100.1310793326.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, 16 Jul 2011 09:34:40 +1000, Chris Angelico <rosuav@gmail.com>
declaimed the following in gmane.comp.python.general:

> other's toes. In CPython, the latter is guaranteed by the GIL; the
> specific advantage of multiprocessing over threading is that each
> process has a separate GIL, and that's because all variables are
> separate.
>
	And (so far as I understand it) each process can claim its own CPU
core, whereas threads share the active core.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Python threading/multiprocessing issue. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-07-15 22:15 -0700
  Re: Python threading/multiprocessing issue. "Waldek M." <wm@localhost.localdomain> - 2011-07-16 13:41 +0200

csiph-web