Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3354
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <torriem@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '*not*': 0.05; 'scaling': 0.05; 'suppose': 0.05; 'hettinger': 0.07; 'threads,': 0.07; 'pm,': 0.11; '>>>': 0.12; 'am,': 0.14; 'gui': 0.14; 'wrote:': 0.14; '(aahz)': 0.16; 'calderone': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'model.': 0.16; 'subject:GIL': 0.16; 'thread.': 0.16; 'threading': 0.16; '16,': 0.16; '(i.e.': 0.18; 'subject:Questions': 0.19; '(or': 0.22; 'header:In-Reply- To:1': 0.22; 'raymond': 0.22; 'bound': 0.29; 'message- id:@gmail.com': 0.30; 'i/o': 0.31; 'jean-paul': 0.31; 'threads': 0.31; 'fact': 0.31; 'however,': 0.31; "can't": 0.31; 'to:addr :python-list': 0.32; 'received:192': 0.34; 'header:User-Agent:1': 0.35; 'put': 0.35; 'rather': 0.36; 'data': 0.37; 'received:192.168': 0.37; 'useful': 0.37; 'apr': 0.38; 'subject:web': 0.38; 'thread': 0.38; 'user': 0.38; 'but': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'subject:about': 0.66; 'share': 0.67; 'article': 0.75; '10:44': 0.84; 'subject:services': 0.93 |
| X-Virus-Scanned | amavisd-new at torriefamily.org |
| Date | Sat, 16 Apr 2011 16:10:04 -0600 |
| From | Michael Torrie <torriem@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Questions about GIL and web services from a n00b |
| References | <4DA8734C.1080706@WindsorCircle.com> <1302887012.27269.2.camel@tim-laptop> <mailman.399.1302887394.9059.python-list@python.org> <e6008cc8-50f0-4d78-be78-ec6e73b974e9@22g2000prx.googlegroups.com> <ioca10$hu8$1@panix5.panix.com> <8e1fc76f-b003-4ead-9f58-4c2a7a3ef85d@bl1g2000vbb.googlegroups.com> |
| In-Reply-To | <8e1fc76f-b003-4ead-9f58-4c2a7a3ef85d@bl1g2000vbb.googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.444.1302993754.9059.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1302993754 news.xs4all.nl 41110 [::ffff:82.94.164.166]:60438 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3354 |
Show key headers only | View raw
On 04/16/2011 02:53 PM, Jean-Paul Calderone wrote: > On Apr 16, 10:44 am, a...@pythoncraft.com (Aahz) wrote: >> In article <e6008cc8-50f0-4d78-be78-ec6e73b97...@22g2000prx.googlegroups.com>, >> Raymond Hettinger <pyt...@rcn.com> wrote: >> >> >> >>> Threading is really only an answer if you need to share data between >>> threads, if you only have limited scaling needs, and are I/O bound >>> rather than CPU bound >> >> Threads are also useful for user interaction (i.e. GUI apps). >> > > I suppose that's why most GUI toolkits use a multithreaded model. Many GUI toolkits are single-threaded. And in fact with GTK and MFC you can't (or shouldn't) call GUI calls from a thread other than the main GUI thread. That's not to say GUI programs don't use threads and put the GUI it its own thread. But GUI toolkits are often *not* multithreaded. They are, however, often asynchronous, which is often more cost-effective than multi-threaded.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Questions about GIL and web services from a n00b Chris H <chris.humphres@windsorcircle.com> - 2011-04-15 13:09 -0400
Re: Questions about GIL and web services from a n00b Raymond Hettinger <python@rcn.com> - 2011-04-15 18:05 -0700
Re: Questions about GIL and web services from a n00b David Cournapeau <cournape@gmail.com> - 2011-04-16 11:59 +0900
Re: Questions about GIL and web services from a n00b sturlamolden <sturlamolden@yahoo.no> - 2011-04-17 07:48 -0700
Re: Questions about GIL and web services from a n00b aahz@pythoncraft.com (Aahz) - 2011-04-16 07:44 -0700
Re: Questions about GIL and web services from a n00b Chris Angelico <rosuav@gmail.com> - 2011-04-17 02:04 +1000
Re: Questions about GIL and web services from a n00b Jean-Paul Calderone <calderone.jeanpaul@gmail.com> - 2011-04-16 13:53 -0700
Re: Questions about GIL and web services from a n00b Michael Torrie <torriem@gmail.com> - 2011-04-16 16:10 -0600
Re: Questions about GIL and web services from a n00b sturlamolden <sturlamolden@yahoo.no> - 2011-04-17 07:50 -0700
csiph-web