Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77241
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <cameron@cskk.homeip.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'exercise': 0.04; 'doug': 0.05; 'things,': 0.09; 'thread': 0.14; 'blocking': 0.16; 'distinct': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'processes.': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'subject:Thread': 0.16; 'thread,': 0.16; 'wrote:': 0.18; 'things.': 0.19; 'header:User-Agent:1': 0.23; 'cheers,': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'unix': 0.29; 'clever': 0.31; 'evil': 0.31; 'prepare': 0.35; 'but': 0.35; 'there': 0.35; 'received:com.au': 0.36; 'doing': 0.36; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'content-disposition:inline': 0.62; 'more': 0.64; 'managing': 0.66; 'wish': 0.70; 'attention': 0.75; 'calls,': 0.84; 'lightweight': 0.84; 'care,': 0.91 |
| Date | Fri, 29 Aug 2014 08:30:28 +1000 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | python-list@python.org |
| Subject | Re: Thread terminate |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| In-Reply-To | <87sikhf0m2.fsf@elektro.pacujo.net> |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| References | <87sikhf0m2.fsf@elektro.pacujo.net> |
| X-Optus-CM-Score | 0 |
| X-Optus-CM-Analysis | v=2.1 cv=BdjhjNd2 c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=IkcTkHD0fZMA:10 a=vrnE16BAAAAA:8 a=KaybevnVAAAA:8 a=pGLkceISAAAA:8 a=YnUlPNA22z0I26qIl08A:9 a=QEXdDO2ut3YA:10 a=X5q3X6-Q1Y0A:10 a=MSl-tDqOz04A:10 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13586.1409265037.18130.python-list@python.org> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1409265037 news.xs4all.nl 2970 [2001:888:2000:d::a6]:44649 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:77241 |
Show key headers only | View raw
On 28Aug2014 12:02, Marko Rauhamaa <marko@pacujo.net> wrote: >Ervin Hegedüs <airween@gmail.com>: >> at this time there is only one thread, as you wrote. I just try >> to prepare it to higher load, when one thread will not enough... > >Threads are a necessary evil when dealing with blocking function calls, >but evil they remain. [...snip...] Feh. Threads are not evil. I wish people would not insist on this mantra. Threads have a lot of potential to make managing your program harder if you don't exercise proper discipline. But if you pay attention and exercise care, they are a good approach for various circumstances, and far more lightweight than spawning distinct processes. CHeers, Cameron Simpson <cs@zip.com.au> UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. - Doug Gwyn
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Thread terminate Ervin Hegedüs <airween@gmail.com> - 2014-08-28 10:52 +0200
Re: Thread terminate Marko Rauhamaa <marko@pacujo.net> - 2014-08-28 12:02 +0300
Re: Thread terminate Ervin Hegedüs <airween@gmail.com> - 2014-08-28 11:19 +0200
Re: Thread terminate Cameron Simpson <cs@zip.com.au> - 2014-08-29 08:30 +1000
csiph-web