Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72323
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jeanpierreda@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.113 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.79; '*S*': 0.01; 'cc:addr:python-list': 0.11; 'thread': 0.14; '(must': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'cc:addr:python.org': 0.22; 'certainly': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'raised': 0.31; 'fri,': 0.33; 'received:google.com': 0.35; 'process,': 0.38; 'files': 0.38; 'pm,': 0.38; '30,': 0.65; 'risk': 0.72; 'ethan': 0.84; 'furman': 0.84; 'suboptimal.': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=32Tanh5gk8lqp6rHeTVGN1G/GQ9nrti/kp0h/abeCRg=; b=0UAgkGyQVFnkHtoCnTBJvIACg0VWMhV0CVJknBT5n2ZPHCSgmZCYwuwFP78XdAKo+m gcVEIiqfbatBcsxPeDW/G/IU3duHj1X72/x4Kl3w01cFZwVRf7tudGZrkNGCKAhOzeLw DcGlKNeNgtK6o82b3IJTuc9luqrR1eHhQsMtwVDeVUti5ugVM6fDLTeRZnXmyGLUDb0g duwd5nZeUUc3DLqsTxGyWqmWsfVeEezUDP4skFj9XtZdX02uc7mHMZS0gHRXbDbevYor XHyxwnsMrMcSOz9JZZsirz5mIv8Kb4I1mT5VWqZbuvN0TKwPh1z1OLXbaFmBlELZommb QsQA== |
| X-Received | by 10.140.91.113 with SMTP id y104mr24600547qgd.3.1401487134641; Fri, 30 May 2014 14:58:54 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <5388F14B.3010807@stoneleaf.us> |
| References | <368aec88-ebe9-4da0-a537-92ff9b690647@googlegroups.com> <CABicbJ+Ypf12Ka_exf8OyjB61fc95gpB9J=c2g5SP9sQtihctg@mail.gmail.com> <5388F14B.3010807@stoneleaf.us> |
| From | Devin Jeanpierre <jeanpierreda@gmail.com> |
| Date | Fri, 30 May 2014 14:58:14 -0700 |
| Subject | Re: daemon thread cleanup approach |
| To | Ethan Furman <ethan@stoneleaf.us> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | "comp.lang.python" <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 | <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.10501.1401487142.18130.python-list@python.org> (permalink) |
| Lines | 8 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1401487142 news.xs4all.nl 2933 [2001:888:2000:d::a6]:44642 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:72323 |
Show key headers only | View raw
On Fri, May 30, 2014 at 1:59 PM, Ethan Furman <ethan@stoneleaf.us> wrote: > Given the use-case (must shut down, cannot risk a hung process, orphan files > be damned) I don't think having a daemon thread die because it raised an > exception trying to access a missing global is a big deal. It's certainly suboptimal. Subprocesses are better in every way. -- Devin
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
daemon thread cleanup approach Carl Banks <pavlovevidence@gmail.com> - 2014-05-28 18:20 -0700
Re: daemon thread cleanup approach Miki Tebeka <miki.tebeka@gmail.com> - 2014-05-28 22:51 -0700
Re: daemon thread cleanup approach Cameron Simpson <cs@zip.com.au> - 2014-05-29 16:07 +1000
Re: daemon thread cleanup approach Chris Angelico <rosuav@gmail.com> - 2014-05-29 18:15 +1000
Re: daemon thread cleanup approach Carl Banks <pavlovevidence@gmail.com> - 2014-05-29 12:40 -0700
Re: daemon thread cleanup approach Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-05-30 13:47 -0700
Re: daemon thread cleanup approach Ethan Furman <ethan@stoneleaf.us> - 2014-05-30 13:59 -0700
Re: daemon thread cleanup approach Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-05-30 14:58 -0700
csiph-web