From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.devel Subject: Re: list-threads Date: Mon, 30 Jul 2018 06:27:33 -0700 Message-ID: <87fu00q2ey.fsf@runbox.com> References: <87tvoiq208.fsf@runbox.com> <87o9eqo4q3.fsf@gmx.de> <87pnz6p109.fsf@runbox.com> <83effmq77b.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532957159 21118 195.159.176.226 (30 Jul 2018 13:25:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 13:25:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: michael.albinus@gmx.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 30 15:25:54 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 1fk8BO-0005Pz-3u for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 15:25:54 +0200 Original-Received: from localhost ([::1]:52625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk8DU-0007Io-Sg for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 09:28:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk8DJ-0007Gj-9Y for emacs-devel@gnu.org; Mon, 30 Jul 2018 09:27:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk8DF-00038p-BJ for emacs-devel@gnu.org; Mon, 30 Jul 2018 09:27:53 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:37774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk8DF-00037N-03; Mon, 30 Jul 2018 09:27:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=8wHy+kf+eaUIA+0PRp1W8F1O80syaeAC9trkyehsvgw=; b=PswvwZUGzPs3Z29CyMHdEd+xgc BhSJrR8mtYgL+KhJNBALxnVABcQikjaNlBE2W11vdgHsqZ5d9NP0s/jZAlVe8K5uIXYECpYD79uAg Wf6w8cTbZYNYeTsxDeQ7WcSWOkdZ0ChzeS1vBk1DLUcDqfXFNhv6316QOHy8QiYC1AKLc6dfbfx1c KC7pltoAt0a8QJPGb5KvptDnFUo87knZhsiXNObCz9AcxBx6PzmqptEE5oyda3wUBm0durIupTvTm 4Mmto5aU7mpWm1+vZIYBlxY78QOZBEcs6QJuZUUHhH+Xvh63r+aCdyoaILwfrFMbZF4UHdFXLmIAG djxn33IQ==; Original-Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1fk8DC-0007F4-2U; Mon, 30 Jul 2018 15:27:46 +0200 Original-Received: by mailfront11.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1fk8D4-0007wC-1f; Mon, 30 Jul 2018 15:27:38 +0200 In-Reply-To: <83effmq77b.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 29 Jul 2018 20:31:52 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 91.220.196.211 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:227985 Archived-At: Eli Zaretskii writes: >> 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. Yes, that is correct.