From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: igc, macOS avoiding signals Date: Sat, 28 Dec 2024 13:55:20 +0100 Message-ID: References: <87seq8m0r6.fsf@protonmail.com> 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="25432"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 28 13:55:55 2024 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 1tRWMF-0006PJ-NQ for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Dec 2024 13:55:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRWLn-0007Oy-H1; Sat, 28 Dec 2024 07:55:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRWLl-0007OK-2s for emacs-devel@gnu.org; Sat, 28 Dec 2024 07:55:25 -0500 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRWLj-0006ae-Ln for emacs-devel@gnu.org; Sat, 28 Dec 2024 07:55:24 -0500 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-aa66ead88b3so1471987166b.0 for ; Sat, 28 Dec 2024 04:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735390521; x=1735995321; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A5FwJojvu4mcOLkd8RdtzLV0SFZM6F1Uw68AAlQ0Iww=; b=FKPgUWbWN8TNc4AduBOq65AiOhjKGFnjuu+vK9S0wvBDY/4gb6NzRU6taARzaoHJpE 2Q4yM0SuJAS5c8xBcH+WuV9l/frSq3C1onVGSDRKg+iadsz1lhVoijkumNSxpvweBy/n QCPEq8HJmFUm6J1ryeAKXPRsGy8i8B1dbliD5pyo7YYTPbaYh0upZFLsKqG3dJyFHzDV nYcitaRK+xvZJgo71nnM36C31yZ9hsUnTH4t9rYGiQsijW6gVsP0UNxYhkJURP9YN1Yt 2wqJ3yBP1nPUTHqVbrsm6b49fHP2yqKdFAMqHc+wlN57rC+xLotGh8D8Oj59Zzgw3eNw Gx0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735390521; x=1735995321; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=A5FwJojvu4mcOLkd8RdtzLV0SFZM6F1Uw68AAlQ0Iww=; b=d/vT9eqHNK8eyb6LAeTbrUpnkg4s8MqflrRWYMnati/lxc+9Cbl9CF/KMI2okfzoHd MqMiK5igbqGZcwCzOsU7KiGpKMVP1lyhCUSqeDmSqtcsRRvI35EhBVoiUXz9fZ7ipZfd bqlUAoR2h0MEfMaJzjwxGnXyvOzOObRoyleNzEwkDIa2PfkbQ7ZJkbGVoiw/SN35z1vG AvCI1DUIhavNV81YcliIDOrmkiXUYH01zMCe8MGHIJaYd5Ci3EN8A5dcHP3DIz/xq1cq iwpbBmUKPmdPlx0dXW77hVL/fjcZL+auCJNuNsKQk6eR5yD4nGfFqPJ967D1gVO7DkMC bxrw== X-Gm-Message-State: AOJu0YyXOqDym3RcvAHUBk2ki6x2bm6xjB6FCW2Z0AtM0eIsCnePXrRj 5ch45dNI2/lJuMdURSvAEFQyvnh1YxDVuGQmBRUdBdu3suvpcqBP8XY+jw== X-Gm-Gg: ASbGnctrVp2AYtX3GZ92R2WoNtUoAAf/HFO99sFdIrDRumvRPJ5SYtm+HrlHHKmGcn7 FksFK7gyZ8F/nP1lrP/kmE66aRRq6FeGoqcjHp00dxHdUjCwviaSntrVrMSYUzLdUSYBg/659qf /DawqqlnTTp3+rRXdde9BMrOjoRhC8byS0LsFTCOABDWJd/4u5t8khT+8Fwc39IqMM8liDZ/doS wg5GJmMVr+vKuhvTdtVOswxA/Kq65xKKuN3CMfUjHVF9jl9fq2TSMHFFbZH100VKJQpFWeKAVXX dJ2otxXSNT/ypciql8guqfOs+Pu20VR6Ho9QNiV5qqhP48vkZ/vyas7vCa9mUEKXpQ== X-Google-Smtp-Source: AGHT+IH/aowBU9c0NfU2FUDtu67z6TwYKExHOAjieIyJyN2ybs3ntIRUOkVDbMSUfiEmA7W24I/7xA== X-Received: by 2002:a17:907:9806:b0:aaf:123a:d8b7 with SMTP id a640c23a62f3a-aaf123ad8damr1116265866b.17.1735390521216; Sat, 28 Dec 2024 04:55:21 -0800 (PST) Original-Received: from pro2 (p200300e0b706e400c44cad3d21adb953.dip0.t-ipconnect.de. [2003:e0:b706:e400:c44c:ad3d:21ad:b953]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe415dsm1251786866b.123.2024.12.28.04.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2024 04:55:20 -0800 (PST) In-Reply-To: <87seq8m0r6.fsf@protonmail.com> (Pip Cet's message of "Sat, 28 Dec 2024 12:49:38 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62c.google.com 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_NONE=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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327258 Archived-At: Pip Cet writes: > Gerd M=C3=B6llmann writes: > >> This is about commit >> >> ceec5ace134081b64dbf46c4fb5702ef5209c5fd >> Avoid MPS being interrupted by signals >> >> I've been running with this for some days now, and must report that >> Emacs feels a _bit_ different here in interactive use, maybe one could >> say not as smooth. (macOS, --without-ns, in my fork of Emacs, which is >> very recent master++). > > I think we should quantify that. Set a watchpoint on > igc_global->signals_pending, check how often we even set that, and how > often we call igc_maybe_quit, particularly if we were previously idle. > Maybe it's sufficient to call it again from the idle handler. > >> After reverting the commit, it's feeling smoother again. > > Entirely possible. Let's measure it. I'm sorry, but I pass. It's too time-consuming for me. Maybe someone else using macOS can do that. I just wanted to make you aware of this.