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


Groups > comp.lang.python > #72323

Re: daemon thread cleanup approach

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 2014-05-30 14:58 -0700
Subject Re: daemon thread cleanup approach
Newsgroups comp.lang.python
Message-ID <mailman.10501.1401487142.18130.python-list@python.org> (permalink)

Show all headers | 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 | NextPrevious in thread | Find similar | Unroll thread


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