Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.057 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'subject:not': 0.03; 'executed': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'macos': 0.16; 'received:192.168.128': 0.16; 'roy': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'url:mailman': 0.30; 'code': 0.31; 'url:python': 0.33; 'running': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'operating': 0.37; 'message-id:@gmail.com': 0.38; 'depends': 0.38; 'pm,': 0.38; 'does': 0.39; 'url:mail': 0.40; 'header:Message-Id:1': 0.63; 'more': 0.64; 'smith': 0.68; 'behavior': 0.77; 'article': 0.77; 'on?': 0.91; 'interrupted': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JiKzsOaHAhHFgDIoDMtA8436xfMoDo70OFJIhbT7y/c=; b=RIldknfEejeY9gP1upRlNz/GjUoZZjftR7Z7wpxFbkRQxo+8CWjo8TRHdTfDnDd7/H 0HLzBPq18Psc+3ieOcS4biYVT13OyeGctUK4Pkcvcwyakxc8C2HlUcVpiRSGuzvCS305 bXj+rwyN4wFzAxHFih/keyTLPwr2uufBI/pdil79P3nNNtH1mgVmIOqnStxacM/hptky BfN1ihLcUFsQKE9ZY997LXc+EPl3Slh3d3nQ3Xt3N7aC/frKuxP8/q3dlOWc1BSM1HKZ La4lywpcvD8e4Zh5334jJFlY5o4zjz0MtGcgMh+ijMS/ClNfESTFbAhSbFIFhPKvuFsE 1dbg== X-Received: by 10.68.133.163 with SMTP id pd3mr3674320pbb.166.1404383267745; Thu, 03 Jul 2014 03:27:47 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: threading.Condition.wait() is not catching SIGTERM From: Sangeeth Saravanaraj In-Reply-To: Date: Thu, 3 Jul 2014 15:57:45 +0530 Content-Transfer-Encoding: quoted-printable References: To: Roy Smith X-Mailer: Apple Mail (2.1878.2) Cc: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404383271 news.xs4all.nl 2922 [2001:888:2000:d::a6]:45641 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73895 On 03-Jul-2014, at 3:49 pm, Roy Smith wrote: > In article , > Sangeeth Saravanaraj wrote: >=20 >> Hi All,=20 >>=20 >> I have the following code which when executed waits to be interrupted = by=20 >> SIGINT, SIGTERM or SIGQUIT. >=20 > We need more information. What version of Python are you using? And,=20= > what operating system is this running on? I am using Python 2.7.7 and running this code on MacOS Darwin Kernel = 13.2.0 But does the behavior of threading.Condition.wait() depends on operating = system?!=20 > --=20 > https://mail.python.org/mailman/listinfo/python-list