From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#15561: periodic timer stops running Date: Thu, 27 Feb 2014 18:42:42 -0800 Organization: UCLA Computer Science Department Message-ID: <530FF7A2.5000005@cs.ucla.edu> References: <530FF70C.2020905@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1393555394 7897 80.91.229.3 (28 Feb 2014 02:43:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 02:43:14 +0000 (UTC) Cc: 15561@debbugs.gnu.org To: Barry OReilly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 03:43:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJDQ1-0005Tt-5t for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 03:43:21 +0100 Original-Received: from localhost ([::1]:49021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJDQ0-0003OH-0q for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Feb 2014 21:43:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJDPq-0003O3-6k for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 21:43:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJDPi-00030U-TL for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 21:43:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJDPi-00030J-Pl for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 21:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJDPi-0000gN-An for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 21:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2014 02:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15561 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15561-submit@debbugs.gnu.org id=B15561.13935553652595 (code B ref 15561); Fri, 28 Feb 2014 02:43:02 +0000 Original-Received: (at 15561) by debbugs.gnu.org; 28 Feb 2014 02:42:45 +0000 Original-Received: from localhost ([127.0.0.1]:43331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJDPR-0000fn-GC for submit@debbugs.gnu.org; Thu, 27 Feb 2014 21:42:45 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:50297) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJDPP-0000ff-T1 for 15561@debbugs.gnu.org; Thu, 27 Feb 2014 21:42:44 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E2A6839E8011; Thu, 27 Feb 2014 18:42:42 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8IJeRLbVyAAW; Thu, 27 Feb 2014 18:42:42 -0800 (PST) Original-Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 813E139E8008; Thu, 27 Feb 2014 18:42:42 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <530FF70C.2020905@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86344 Archived-At: [Resending with corrected bug-report address; sorry about that.] Barry OReilly wrote: > But what happens if the next timer happens to be soon, and Emacs receives SIGALRM inbetween set_alarm and unblock_timers? Are you talking about a SIGALRM received during the execution of do_pending_atimers, between run_timer's call to set_alarm and do_pending_atimers's call to unblock_atimers? If so, the SIGALRM should be held by the operating system during that period, and Emacs won't be informed of the SIGALRM until unblock_atimers does its thing. Sorry, I don't see how this would cause a timer to stop.