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


Groups > comp.lang.python > #73896

Re: threading.Condition.wait() is not catching SIGTERM

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@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.93; '*S*': 0.00; 'subject:not': 0.03; 'lesser': 0.07; 'cc:addr:python-list': 0.11; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'certainly': 0.24; 'platform,': 0.24; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'os,': 0.31; 'linux': 0.33; 'mac': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'operating': 0.37; 'depends': 0.38; 'pm,': 0.38; 'does': 0.39; 'between': 0.67; 'jul': 0.74; 'behavior': 0.77; 'to:none': 0.92; 'differences': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=zE25eSnnpjQtI57P5SO0Bl3iW/HA6S+jgkPs+It2on0=; b=xFs+pfZ7nxYjrLmaDmJhAHECYmsVAfv5w1uhOh8vvK9zIiOb5n1asSQfXVQG0C+Obw Q1iy/G6eDJrCvCKMs7ej4quWQU1zes5/++3RzAl0IZPLRgrXvFLHFcnOeaac7uVfPXoS O2pjeHqj7AWz2BsihtukCyJd+6gPaYzI3pPaTXJrgG5eIkmQ8tdiReCE8CX9kw8L3Jb6 +HN8Z2hsGyzwMpfrzIoKfMoM2ZiB84cpkduVveg+n0x4Jl4b4mMiaeG6VYJIEcNZccWR oHXQKjS++hk3TiAxI3M3GwsZYBO/RyL57ra84ZKNE3/2x+6dLWwIhLcWVANkEJZ/h5jg lssQ==
MIME-Version 1.0
X-Received by 10.220.250.203 with SMTP id mp11mr3000055vcb.2.1404383628885; Thu, 03 Jul 2014 03:33:48 -0700 (PDT)
In-Reply-To <00F58FB9-3C75-4DE5-8B9F-4ADB7B29EFE4@gmail.com>
References <mailman.11450.1404382552.18130.python-list@python.org> <roy-A625DF.06190003072014@news.panix.com> <00F58FB9-3C75-4DE5-8B9F-4ADB7B29EFE4@gmail.com>
Date Thu, 3 Jul 2014 20:33:48 +1000
Subject Re: threading.Condition.wait() is not catching SIGTERM
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.11453.1404383638.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1404383638 news.xs4all.nl 2839 [2001:888:2000:d::a6]:49519
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73896

Show key headers only | View raw


On Thu, Jul 3, 2014 at 8:27 PM, Sangeeth Saravanaraj
<sangeeth.saravanaraj@gmail.com> wrote:
> But does the behavior of threading.Condition.wait() depends on operating system?!

The behaviour of signals certainly does - there's a huge difference
between Windows and POSIX, and there are lesser differences between
Linux and Mac OS, and so on. It's just safest to say exactly what
platform, in case it matters.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

threading.Condition.wait() is not catching SIGTERM Sangeeth Saravanaraj <sangeeth.saravanaraj@gmail.com> - 2014-07-03 15:45 +0530
  Re: threading.Condition.wait() is not catching SIGTERM Roy Smith <roy@panix.com> - 2014-07-03 06:19 -0400
    Re: threading.Condition.wait() is not catching SIGTERM Sangeeth Saravanaraj <sangeeth.saravanaraj@gmail.com> - 2014-07-03 15:57 +0530
    Re: threading.Condition.wait() is not catching SIGTERM Chris Angelico <rosuav@gmail.com> - 2014-07-03 20:33 +1000

csiph-web