From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: semantics of thread-signal Date: Mon, 12 Dec 2016 18:08:11 +0200 Message-ID: <83k2b5ceqc.fsf@gnu.org> References: <871sxe2b8d.fsf@irif.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1481558930 4006 195.159.176.226 (12 Dec 2016 16:08:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2016 16:08:50 +0000 (UTC) Cc: jch@irif.fr, emacs-devel@gnu.org To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 17:08:45 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGT9g-00006W-6C for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 17:08:44 +0100 Original-Received: from localhost ([::1]:57081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGT9j-0003MB-To for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 11:08:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGT8b-0003Fn-CU for emacs-devel@gnu.org; Mon, 12 Dec 2016 11:07:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGT8Y-0008H9-Pq for emacs-devel@gnu.org; Mon, 12 Dec 2016 11:07:37 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGT8Y-0008H0-MV; Mon, 12 Dec 2016 11:07:34 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4667 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cGT8Y-0004Dg-0a; Mon, 12 Dec 2016 11:07:34 -0500 In-reply-to: (message from Noam Postavsky on Sun, 11 Dec 2016 21:06:38 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210343 Archived-At: > From: Noam Postavsky > Date: Sun, 11 Dec 2016 21:06:38 -0500 > Cc: Emacs developers > > --- i/doc/lispref/threads.texi > +++ w/doc/lispref/threads.texi > @@ -82,9 +82,11 @@ Basic Thread Functions > @defun thread-signal thread error-symbol data > Like @code{signal} (@pxref{Signaling Errors}), but the signal is > delivered in the thread @var{thread}. If @var{thread} is the current > -thread, then this just calls @code{signal} immediately. > -@code{thread-signal} will cause a thread to exit a call to > -@code{mutex-lock}, @code{condition-wait}, or @code{thread-join}. > +thread, then this just calls @code{signal} immediately. Otherwise, > +@var{thread} will receive the signal as soon as it becomes current. > +If @var{thread} was blocked by a call to @code{mutex-lock}, > +@code{condition-wait}, or @code{thread-join}; @code{thread-signa} will > +unblock it. ^^^^^^^^^^^^ > @end defun Thanks, please push after fixing the typo.