From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Tue, 09 Feb 2016 11:37:07 +1100 Message-ID: <87y4auiurw.fsf@gnus.org> References: <8760y9kwrk.fsf@gnus.org> <8760y7nag7.fsf@gnus.org> <83oabzzsjq.fsf@gnu.org> <87fuxazkfe.fsf@gnus.org> <83io25yeqk.fsf@gnu.org> <87h9hpnreg.fsf@gnus.org> <83y4b0wi7m.fsf@gnu.org> <87si17evk6.fsf@gnus.org> <83twlnvcz2.fsf@gnu.org> <87vb63obm3.fsf@gnus.org> <87r3gqmg6g.fsf@gnus.org> <83egcqtfnm.fsf@gnu.org> <86mvrdmk8p.fsf@realize.ch> <877fihjo4m.fsf@gnus.org> <86io20n3xn.fsf@realize.ch> <8760y055l1.fsf@gnus.org> <8660xzmyyr.fsf@realize.ch> <87pow7ocyw.fsf@gnus.org> <861t8nmxlj.fsf@realize.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454978288 21520 80.91.229.3 (9 Feb 2016 00:38:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 00:38:08 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 01:37:53 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 1aSwJV-0007qA-KD for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 01:37:53 +0100 Original-Received: from localhost ([::1]:50311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwJU-0004oN-VD for ged-emacs-devel@m.gmane.org; Mon, 08 Feb 2016 19:37:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwJG-0004oD-13 for emacs-devel@gnu.org; Mon, 08 Feb 2016 19:37:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSwJC-0005js-Qw for emacs-devel@gnu.org; Mon, 08 Feb 2016 19:37:37 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:47038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwJC-0005jo-KB; Mon, 08 Feb 2016 19:37:34 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSwIq-00057C-Kp; Tue, 09 Feb 2016 01:37:13 +0100 In-Reply-To: <861t8nmxlj.fsf@realize.ch> (Alain Schneble's message of "Mon, 8 Feb 2016 09:10:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aSwIq-00057C-Kp MailScanner-NULL-Check: 1455583033.37739@zRAkTS0xBmgvcXNyivk0Fw 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:199569 Archived-At: Alain Schneble writes: > I think the point here is that with these blocking calls in place, we > wouldn't really need a separate :nowait 'immediate, just the existing > :nowait t. And IIUC, this is also what Eli Zaretskii proposes. With > this model, :nowait t really means: I request as much async behavior as > possible. But if code is not arranged in an async fashion, then well, > you might not get full async behavior. It's your fault, but we won't > signal an error. If we can identify all the places where we have to insert these blockers, then having :nowait t be as async as possible, then that would be nice. I kinda feel that might not be realistic. But I may be wrong. I mean, there aren't a hundred process-related built-in functions... Your list was just in the tens, right? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no