Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45629
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiosantosart@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.01; 'yet.': 0.04; 'level,': 0.07; 'subject:help': 0.08; 'cc:addr:python-list': 0.11; 'python': 0.11; 'objects?': 0.16; 'stuff.': 0.16; 'threads.': 0.16; 'wrote:': 0.18; 'memory': 0.22; 'cc:addr:python.org': 0.22; 'creating': 0.23; 'manager.': 0.24; 'visible': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message- id:@mail.gmail.com': 0.30; 'that.': 0.31; 'subject:with': 0.35; 'common': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'does': 0.39; 'deleting': 0.60; 'making': 0.63; 'more': 0.64; 'lowest': 0.74; 'calls,': 0.84; 'locked': 0.84; '\xa0at': 0.84; 'obvious,': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=TKhBq80xhGfT6NEJ7dRl1ahI2A48McMdNo9I2K0dTNM=; b=WfkhEgFrS/H/J2Ga1c3VdyGGRUF2ClL6wANwxinaBI+Z7+tEAeCboXxzG7sxoMIotW mmd5gqPDnSmFm7FkbPBMDFtwyGJ3XNu/O3YFWDBMFdUVrlFYrgVKWW0rXQiKbu1M+fSr GR2lg3Be3vKvTwHoLJjurGrKK3NUSGdfLHDu+SATEhmFkfpo8ZdQIXFbCqVb3cDKjffb MkUmfwe0OFvn1OGupSH5TBPtbUZ3xsrdTTT8HyJ2aBCMXf2jRsR7Rl9tOdKeoRCqa92e GR78JzbRGZHy/F+VyBkRyZOt5TTZuaL3V2XqY4RHSto9SECY45A4JeyMImz0ddzkv6ns 9aMQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.229.13.205 with SMTP id d13mr11194376qca.118.1369073091067; Mon, 20 May 2013 11:04:51 -0700 (PDT) |
| In-Reply-To | <519A039C.5040606@davea.name> |
| 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 | Mon, 20 May 2013 19:04:50 +0100 |
| Subject | Re: Please help with Threading |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| To | Dave Angel <davea@davea.name> |
| Content-Type | multipart/alternative; boundary=0015175743bc43e73304dd2a2b1b |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1893.1369073094.3114.python-list@python.org> (permalink) |
| Lines | 37 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369073094 news.xs4all.nl 15976 [2001:888:2000:d::a6]:43205 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45629 |
Show key headers only | 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
Re: Please help with Threading Fábio Santos <fabiosantosart@gmail.com> - 2013-05-20 19:04 +0100
csiph-web