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


Groups > comp.lang.python > #45629

Re: Please help with Threading

References <CAA=1kxR4GD1xLBPJK9sKb_LrVbi-UScBxRbx2vacM989K+YV2Q@mail.gmail.com> <20130520074514.GA33353@cskk.homeip.net> <CAA=1kxSaWQrP+J7ArA8ZW6W6p225q+tsBjRKSuB8hMPBaphaNQ@mail.gmail.com> <519A039C.5040606@davea.name>
Date 2013-05-20 19:04 +0100
Subject Re: Please help with Threading
From Fábio Santos <fabiosantosart@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1893.1369073094.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I didn't know that.
On 20 May 2013 12:10, "Dave Angel" <davea@davea.name> wrote:
> Are you making function calls, using system libraries, or creating or
deleting any objects?  All of these use the GIL because they use common
data structures shared among all threads.  At the lowest level, creating an
object requires locked access to the memory manager.
>
>
> Don't forget, the GIL gets used much more for Python internals than it
does for the visible stuff.

I did not know that. It's both interesting and somehow obvious, although I
didn't know it yet.

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


Thread

Re: Please help with Threading Fábio Santos <fabiosantosart@gmail.com> - 2013-05-20 19:04 +0100

csiph-web