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: list-threads Date: Sun, 29 Jul 2018 20:31:52 +0300 Message-ID: <83effmq77b.fsf@gnu.org> References: <87tvoiq208.fsf@runbox.com> <87o9eqo4q3.fsf@gmx.de> <87pnz6p109.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532885445 6885 195.159.176.226 (29 Jul 2018 17:30:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2018 17:30:45 +0000 (UTC) Cc: michael.albinus@gmx.de, emacs-devel@gnu.org To: Gemini Lasswell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 29 19:30:41 2018 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 1fjpWh-0001hf-Sc for ged-emacs-devel@m.gmane.org; Sun, 29 Jul 2018 19:30:39 +0200 Original-Received: from localhost ([::1]:49183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjpYo-0000RO-8y for ged-emacs-devel@m.gmane.org; Sun, 29 Jul 2018 13:32:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjpXo-0000QR-G1 for emacs-devel@gnu.org; Sun, 29 Jul 2018 13:31:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjpXn-0006vA-Kd for emacs-devel@gnu.org; Sun, 29 Jul 2018 13:31:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjpXn-0006v5-H0; Sun, 29 Jul 2018 13:31:47 -0400 Original-Received: from [176.228.60.248] (port=4226 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fjpXm-0006OD-Vt; Sun, 29 Jul 2018 13:31:47 -0400 In-reply-to: <87pnz6p109.fsf@runbox.com> (message from Gemini Lasswell on Sun, 29 Jul 2018 07:31:02 -0700) 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:227955 Archived-At: > From: Gemini Lasswell > Date: Sun, 29 Jul 2018 07:31:02 -0700 > Cc: Emacs Development > > > What happens if you call list-threads from another thread but the main > > one? (Haven't tested myself). > > Seems to work fine. It uses a timer, and those run in the main thread. Are you sure timers always run in the main thread? I think they will run by whatever thread calls wait_reading_process_output.