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: Mon, 30 Dec 2024 16:34:03 +0100 Message-ID: References: <799DDBC5-2C14-4476-B1E0-7BA2FE9E7901@toadstyle.org> <878qrxoayj.fsf@gmail.com> <8734i5o6wc.fsf@gmail.com> <87cyh9mpn5.fsf@gmail.com> <874j2l1hei.fsf@protonmail.com> <874j2lmd37.fsf@gmail.com> <874j2lyz1c.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11039"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , Eli Zaretskii , spd@toadstyle.org, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 30 16:34:41 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 1tSHmz-0002jm-6X for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Dec 2024 16:34:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSHmZ-0008Aq-MS; Mon, 30 Dec 2024 10:34:15 -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 1tSHmU-0008A8-5w for emacs-devel@gnu.org; Mon, 30 Dec 2024 10:34:11 -0500 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSHmR-0002WO-Ms; Mon, 30 Dec 2024 10:34:09 -0500 Original-Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5d3d2a30afcso16639226a12.3; Mon, 30 Dec 2024 07:34:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735572845; x=1736177645; darn=gnu.org; h=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=9LADHAbrKe0Wk5dMkiNVlCZpFb2Sul1Hi2kxanB6jbc=; b=Ul0t03Gz8Yri8GsH95Vta0QiDezbLQmQN1xqSFVbLnTTUnnjHlOvvb5rbu+J/CDvAo kMF05s+uec+T592mO/Tfdrr4iJk39PDfXpEVp9Sn5LcKc0ji+cMeRmFPG3e/IO7BU3LF UCxkv6Wn5dd34doOb1FZ+Rb9CsWsg0G2r5TE3qMrU7iYPHNQEUn40EwntqfriboklAI9 SshpHgPkBacmI6b2Asc5q5QELtAvI9cMoDtQLpGm3X4K2jmJ0vumrMXZKavez6kRIe2D KsaHus9FnczVu388buv4L/cXIMv6E5zNGSGAerx6XWFlOVTtaB+2JG4Za+vDCMzvMvdk ygTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735572845; x=1736177645; h=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=9LADHAbrKe0Wk5dMkiNVlCZpFb2Sul1Hi2kxanB6jbc=; b=NnPACrbmJKLPAco4PKu7ZEMV2OiklFAIOgB1PICZaIWS3qM+Y05l/SHdx/rkBdJtdY O+SzPg4+oZ4svr/EOcILT2DxRD59cX0lIWyVHhZBY4lp0oCf7G31ibUrz4qJGjYeQCTc aZh6ZLgb4YYd3WKCShlOWHFneMDJnr3AZHml0wwn12wMyEBvCBKDIA+ke9ftUWj4DwK6 TsyZ7bvhSgjuLyfK8xK6ZAcodx+wr1++LSOyRGwR25RohpmA1oFIqgL/3XQ1fQGUQ7kw ZXkrubh+m4rQLqZExMYtoP7MtPfnaTqS6aehlTbthPxqPSgfd+8+Q1pASIloBbyAipTo 7rZg== X-Forwarded-Encrypted: i=1; AJvYcCXUO6tBEiOg8CrAhrn70OV+suJmW+Z3QuhHpTyVmTgyqxcaWlP/A0jTZhqmePJvoCGp1hUjThqxj5EnGow=@gnu.org, AJvYcCXvPZilzIeRG9/HHzrfwBYrf2LjXQTNgbirG4Dh52AynGf+NW1JW6fdNl0r5frIbmznur3X@gnu.org X-Gm-Message-State: AOJu0Yw/qzIGIt4mmtc/Z4IMBUqkGqXWoykM4oKs+Z2NX9XgGukz5Ouk oq8gahIwt0ZS8u+vW6uDwJXStdINnmuqi0mcARnFQInthIE1PpTGmpPmmw== X-Gm-Gg: ASbGncv2LL/1oZO8PZmrmSCcUSwahC4hv8n9FFC4OlnNbdZcJxBBufxVeN91D2V3e8N D6DruQZobPBJB2FULb+fVXPh2IPyfztYa1mTV9gOY8406iy0Ws5yCkoRgg4wl4ZLziY7/2bApBM J6domNfKVQLilWoUMjEbFJO3ktZjLqqicpUPNjLBxbpeXwDnYnoT4lbr4sOokRMo0Rkmdb3GOmR Jpal8DatR5mJ6JG8/RBI+aa9/Q6qqvvS9rTnB5NqhsfZLqTIFvR1ILR0VgjqLaDCuUVEZd3B/HC 7VWjh4C4kh8zyfONMtzjsveEfmfjNvz3oKaD6fWmvyJlmbLl7svolmkknRztt+22 X-Google-Smtp-Source: AGHT+IHq0Zz5Dv91vseg5eQ2urou4lXsijmPH8j0jEvGijVWpkOKjY2BA1ppombBV5qilWcZ8mxRjA== X-Received: by 2002:a05:6402:4403:b0:5d6:37e5:792a with SMTP id 4fb4d7f45d1cf-5d81dd83bb5mr31847387a12.2.1735572844559; Mon, 30 Dec 2024 07:34:04 -0800 (PST) Original-Received: from pro2 (p200300e0b7156f000dceccb84ca1ba38.dip0.t-ipconnect.de. [2003:e0:b715:6f00:dce:ccb8:4ca1:ba38]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80675a6d0sm14874327a12.14.2024.12.30.07.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 07:34:04 -0800 (PST) In-Reply-To: <874j2lyz1c.fsf@protonmail.com> (Pip Cet's message of "Mon, 30 Dec 2024 15:25:13 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x532.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:327444 Archived-At: Pip Cet writes: >> Talking about SIGPROF protection code. It appears to me now (again) >> that, for the SIGPROF handler, this pseudo code >> >> if (mps_arena_busy ()) >> plog->gc_count = saturated_add (plog->gc_count, count); >> else >> record_backtrace (plog, count); >> >> is safe. > > Yes, it's safe, because it does have protection code. > The question was the extent to which this protection code is required, > and whether we can find another way to deliver signals which doesn't > require it. > What do you mean by protection code? Is that the commit I reverted?