From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#15561: Fwd: bug#15561: periodic timer stops running Date: Thu, 27 Feb 2014 17:11:10 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1d7e048c29f04f36a99ac X-Trace: ger.gmane.org 1393539130 2991 80.91.229.3 (27 Feb 2014 22:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2014 22:12:10 +0000 (UTC) To: 15561@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 27 23:12:18 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 1WJ9Bh-0006MW-3q for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Feb 2014 23:12:17 +0100 Original-Received: from localhost ([::1]:48308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ9Bg-0005Us-GM for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Feb 2014 17:12:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ9BY-0005Uk-PN for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:12:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJ9BS-00027k-QJ for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:12:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ9BS-00027e-ME for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJ9BS-0008DN-5i for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Feb 2014 22:12: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.139353907331511 (code B ref 15561); Thu, 27 Feb 2014 22:12:02 +0000 Original-Received: (at 15561) by debbugs.gnu.org; 27 Feb 2014 22:11:13 +0000 Original-Received: from localhost ([127.0.0.1]:43172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJ9Ae-0008CA-HG for submit@debbugs.gnu.org; Thu, 27 Feb 2014 17:11:12 -0500 Original-Received: from mail-oa0-f54.google.com ([209.85.219.54]:51083) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJ9Ad-0008C1-B9 for 15561@debbugs.gnu.org; Thu, 27 Feb 2014 17:11:11 -0500 Original-Received: by mail-oa0-f54.google.com with SMTP id n16so3171731oag.41 for <15561@debbugs.gnu.org>; Thu, 27 Feb 2014 14:11:10 -0800 (PST) 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:to :content-type; bh=q8QMiqn6e+mvi/ypLdmNe/NasQOR5vYPYQ/BAMPEFT4=; b=k6SfpDW0t/QO/r2N+4PyhY25OvJvHr0o6oSTjCoH733sh42+p4D+hY2pgd2pH9FpXX 9VDW6ejiYXufBWbR3HAeJZVhRiIVicnHg2asSf6E6JYCcrY6bAofb9r8dnWveLP5+ivX 71GzIDwloP9I+/cG3dZ1vGgnBTT3mJ1yTlkTrvg9OBBRD2ZdQxg471c+z5bW54O8nW9D Yjfx+1+0xP2eynw0A3XOxLzqApHYIbxH1ixsfm4UyfOR99LTZaRBNIlehuxyZElaBawK sVFJgKHutwQ2hsYf3ZpGwEx0UUbOhXHGD126IizK1e1knJCvEm1E2/+TEqr3fAsCO52p PSdQ== X-Received: by 10.182.44.167 with SMTP id f7mr10217916obm.3.1393539070593; Thu, 27 Feb 2014 14:11:10 -0800 (PST) Original-Received: by 10.76.21.84 with HTTP; Thu, 27 Feb 2014 14:11:10 -0800 (PST) In-Reply-To: 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:86332 Archived-At: --001a11c1d7e048c29f04f36a99ac Content-Type: text/plain; charset=ISO-8859-1 The patch addresses: > If it means to block SIGALRM during timers, that doesn't always > happen because timers run within timers. The end of an inner timer > would unblock SIGALRM and the outer timer would finish with the > sigmask unblocked. but I don't see it address: > But what happens if the next timer happens to be soon, and Emacs > receives SIGALRM inbetween set_alarm and unblock_timers? That one sounds more likely to cause a timer to stop. --001a11c1d7e048c29f04f36a99ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The patch addr= esses:

> If it means to block SIGALRM during timers, that doesn&#= 39;t always
> happen because timers run within timers. The end of an = inner timer
> would unblock SIGALRM and the outer timer would finish with the
> sigmask unblocked.

but I don't see it address:

> = But what happens if the next timer happens to be soon, and Emacs
> re= ceives SIGALRM inbetween set_alarm and unblock_timers?

That one soun= ds more likely to cause a timer to stop.


--001a11c1d7e048c29f04f36a99ac--