From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Sun, 24 Jan 2016 22:17:24 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453670301 9571 80.91.229.3 (24 Jan 2016 21:18:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2016 21:18:21 +0000 (UTC) Cc: emacs-devel To: Elias =?iso-8859-1?Q?M=E5rtenson?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 24 22:18:08 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aNS2w-0001Zy-4Q for ged-emacs-devel@m.gmane.org; Sun, 24 Jan 2016 22:18:06 +0100 Original-Received: from localhost ([::1]:33433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNS2v-0001JT-Ee for ged-emacs-devel@m.gmane.org; Sun, 24 Jan 2016 16:18:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNS2i-0001J7-IC for emacs-devel@gnu.org; Sun, 24 Jan 2016 16:17:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNS2f-0002W4-CX for emacs-devel@gnu.org; Sun, 24 Jan 2016 16:17:52 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNS2f-0002Ub-6C for emacs-devel@gnu.org; Sun, 24 Jan 2016 16:17:49 -0500 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aNS2H-0008EM-Ae; Sun, 24 Jan 2016 22:17:25 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUGAQDWzMgEAAAqGhgN BwVJNDIIAgIGAADOdnaJAAACPklEQVQ4jW3UPW/bMBAG4KvqUrPQeCeYwloTUMpsQDTnBhI9swpz Wg2jkP5+36Pk1AHCSbqHd0fqg5Tc14N4u2AmIsUy77QfAO7MzBbhzhgjxKmq9p5p9wAIRLoHGK1J /amq6oXp1xNKOCLjTB5EAmcmXCFqKEe1yLcNdFEgUpjb+IA8+w70dwBnsJ9BP1cDYfGmCLj9DyZ3 VWS+GMUdYAk76++hEGqMpl0Iwa81M5DW2oRyoRYQMOvxtwBTIZs6kZaEEI5F8fgEUICrSPnj/bWS hxdRRJNkXBdpEh9PGZqRDrU0UICpLupRZ6iGkdQFdbRALEszXk4Srx6O6rAUiS6AOuq6nlSb4afn XCeXGut6GfkGieKicsYlXsxSbrB/SegwxxmrOkxk6mt6XmFIyWMXAjO+C0/+dYUmvQ+surPAOJkL f4YTYJmLaGZ2YQMfHSuPN7hwGetZdRsM/ohvzyslMC8zn1aoeucTgAVqHlVqNwgNwHtsUSCqZNfm ePJN8ow2VAvM3Qb7EPrkOOEjEeC/tt0yXkNw0gYwofXO9mGdL7W89Cc9mQO/5ReeRx8G59+xwUu8 Ku7aNYZCfbtByYaTzZOzWitbwY9DCg/E9v2tWAb8fxRzRt/egxNAfyllN+itxXpThhLQ3kHfbCAZ bX8HWFeGyB3u7AfYZj0AsEtnpfQKzQc0yGhv0Numsy8rDAwYVmitdafBu5RyBnUt5kl0haNUJ47T 9c1a9M9D6h9xnuCsKMkkTNzAebwOgX/C4/3GwTjDUAAAAABJRU5ErkJggg== In-Reply-To: ("Elias \=\?iso-8859-1\?Q\?M\=E5rtenson\=22's\?\= message of "Sat, 23 Jan 2016 22:56:38 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aNS2H-0008EM-Ae MailScanner-NULL-Check: 1454275045.72128@lA4d9bq3bbdW5N0oojKEVQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198728 Archived-At: Elias M=E5rtenson writes: > Are there any technical reasons why the name resolution (or whatever > it is that needs to be asynchronous) could not be run in a thread in > the Emacs process itself? As long as the thread is not running any > Lisp code, it should work, correct? There's no problem doing non-Lisp things in a separate thread. But doing anything that calls Lisp stuff from the non-main thread is, if I understand things correctly, highly iffy. Which makes things rather awkward. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no