From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Dean Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Would you say this information window is well designed? Date: Tue, 23 Feb 2021 19:36:28 +0000 Message-ID: References: <83eeh6vmg2.fsf@gnu.org> <835z2ivknw.fsf@gnu.org> <83sg5mu1hn.fsf@gnu.org> <83r1l6tzbo.fsf@gnu.org> Reply-To: Peter Dean Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31174"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "drew.adams@oracle.com" , "stefankangas@gmail.com" , "larsi@gnus.org" , "dgutov@yandex.ru" , "emacs-devel@gnu.org" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 23 20:37:27 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEdUs-00080N-Pi for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Feb 2021 20:37:26 +0100 Original-Received: from localhost ([::1]:35202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEdUr-0008Jc-Qe for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Feb 2021 14:37:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEdU7-0007pH-AG for emacs-devel@gnu.org; Tue, 23 Feb 2021 14:36:39 -0500 Original-Received: from mail-40140.protonmail.ch ([185.70.40.140]:13228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEdU5-0004yl-0K for emacs-devel@gnu.org; Tue, 23 Feb 2021 14:36:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1614108994; bh=vJj/BG1YoeyYW1hyVUf3uSCmq4kwV3fYRIoDxj1jWWM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=p51qUIRs/Msk+vcAXAIMHpIkYKKsA/UdBfugJ/GBSdG23S8CHgWcW0CFbACPORRKn UveUPAg90drskOIt0jaAEaxUjH34psHV8teJGCsvB3vi0h4yp0SwhEl3+xIbHQVXcY bYSMWLyIRDluJQOkDr77rcGC7TqepAL//wLKwhg4= In-Reply-To: <83r1l6tzbo.fsf@gnu.org> Received-SPF: pass client-ip=185.70.40.140; envelope-from=laszlomail@protonmail.com; helo=mail-40140.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265550 Archived-At: > > I really suggest to read the code, it is not too large and not hard to > understand how it works. I checked and I see yield calls the system scheduler. Could simply giving the main thread the highest priority work? So it's more likely to be scheduled next than other threads, thereby increasing the chance of the UI being updated after a yield.