From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: ansi-term in EmacsForMac 26.1.2 on Macos slow when not in foreground Date: Wed, 27 Jun 2018 08:33:36 +0200 Message-ID: <20180627063336.GA10830@tuxteam.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1530081176 28992 195.159.176.226 (27 Jun 2018 06:32:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2018 06:32:56 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 27 08:32:52 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1fY40Z-0007R2-QK for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2018 08:32:51 +0200 Original-Received: from localhost ([::1]:56966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fY42f-0007DU-Fs for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2018 02:35:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fY41U-0006q4-Vc for help-gnu-emacs@gnu.org; Wed, 27 Jun 2018 02:33:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fY41Q-0000WY-19 for help-gnu-emacs@gnu.org; Wed, 27 Jun 2018 02:33:48 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:60952) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fY41P-0000ST-L1 for help-gnu-emacs@gnu.org; Wed, 27 Jun 2018 02:33:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=OejzIbssxWotH/OH4ekQWqTXLWXORK8FpsHiBaJQluY=; b=JZjGYQgt8VQ/uDGPXetimHuDosE8mXX/mSXi/HNgTIot0nWzdhUk4POJ/2SKk/3SsEHHu6Gu5xrE567fBfEkeWd7PQxeWdcJIVrmFgG0ZI/he+2wmiI8oli5w+MdcrX6OZnmr577mRYrBFr8177o5zJrl4eTm4KPcNIpDEvP4wt5DZMvcKEvG43dQZC8Ry0eUm4CSQ1YR/rMURptGDnddwvdJx8pi/8HIN7QYu052pwC0yhNnMeFhOPQj8lu4OKJLO91JpTganFlBQ2Ni/YaU1R95vG7Qe4OGq3z8G+TAwe6BT5sZSVAaDJO2LDO+TTHmv//viJlis2UTDCJkpWiNw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1fY41I-0002qd-Bi for help-gnu-emacs@gnu.org; Wed, 27 Jun 2018 08:33:36 +0200 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117288 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Jun 26, 2018 at 01:51:51PM -0700, Matt Mello wrote: > I am running mpv, streaming music from the web. > > When I run it in ansi-term, and when the frame is not in the foreground, > the music breaks off every few seconds, as though the performance of To me it rather looks like the OS's scheduler is playing games on you. In smartphones, "foreground" tasks (i.e. those expected to get the user's attention) tend to get a higher priority. Perhaps OSX is already in that camp, dunno... Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlszL8AACgkQBcgs9XrR2kZDQgCcDextgjhyGULbcJddMt01vRve QakAnj6kqc0DZVZLuoGBzk+DX8/em2az =XPS4 -----END PGP SIGNATURE-----