From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: SIGPROF + SIGCHLD and igc Date: Fri, 27 Dec 2024 16:40:33 +0100 Message-ID: <87plld6sni.fsf@gmail.com> References: <87o713wwsi.fsf@telefonica.net> <87ldw7fwet.fsf@protonmail.com> <87a5cnfj8t.fsf@protonmail.com> <86seqe4j4f.fsf@gnu.org> <87ttaucub8.fsf@protonmail.com> <87pllicrpi.fsf@protonmail.com> <864j2u442i.fsf@gnu.org> <87a5ch5z1b.fsf@gmail.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="8911"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , pipcet@protonmail.com, ofv@wanadoo.es, emacs-devel@gnu.org, acorallo@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 27 16:41:25 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 1tRCSq-00028C-Hj for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Dec 2024 16:41:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRCSD-0008UP-DQ; Fri, 27 Dec 2024 10:40:45 -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 1tRCSB-0008Tw-9w for emacs-devel@gnu.org; Fri, 27 Dec 2024 10:40:43 -0500 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRCS4-00041M-Fk; Fri, 27 Dec 2024 10:40:38 -0500 Original-Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-aab925654d9so1318634066b.2; Fri, 27 Dec 2024 07:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735314034; x=1735918834; 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=r8VUAKdON6qiIdSCJGLFVW2runF55AZHL5AgZimZnsM=; b=L+dQvV4e7OHuuz7d7Djyav4qYvrR7LTgpTbk9hAvUohuKLDB15L+mY7E6DVOs7w2z5 3gyfBiokZQcp4o4LX8CIp0l1DX4LAlBEBjsJPz/HMDJzQdWCgHOXfJ7D+M0r3LFfgKR5 ZJhOowUNuNH8x7Ket3i9RvODqos2tH/OBsSW2BeUUn1VrEF4/Zzk4hw7ADNFtEkX4ddn b67fQFigc5XVW+Ivf7tSp+rqW9w2vmQThapUdRoagOXTmkgBSK+GZ05sTmgHUE1CXXIv gF7CdauOFHi2BNExKARgyf0gPb8Ab454mh7fBM+WBMBfDPSj4UKqveEpLUJqDP2xWTT3 lFIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735314034; x=1735918834; 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=r8VUAKdON6qiIdSCJGLFVW2runF55AZHL5AgZimZnsM=; b=fmXsvih4O7mliBOiA5nCrMWvzCpLgH5mHQBTEwi3H0FHGWaXJFs2RBflhXWL2U3FOu 8xSDt+RhhdSAkju4/i0RKQjM8tzSBhg6fF8M77hNru2EEBZElAmesb+oH0ReJHM/lKma g+AQwcwNg0wyETp60cLaAkdccxJWrTpZILvDlpDgAC0e1AhxmKNEZCVb1xC9KHF5py0z K1crtlexSxjkltzokXrtEUHzOuJ8RGcyQPGFZpcgtXV7D25U/hRRsfdjbMKXNsrSvqxt NOLzKx+vHZZ04+Db82zy1G/DP4KJNfALkZEM3wC1JxGRnh8avzhAvUGtAmaMpG/zPJx+ JcVg== X-Forwarded-Encrypted: i=1; AJvYcCW4NoU8pGUsZf8N1H0lx06Rl4CmjUcDtfjLCTjgBrvJUDWMpCZEDCA7GHZc13+/NX+stvsVZWufeA==@gnu.org, AJvYcCWgaTA6/MdnO57kE082nY7tbF5sOt/7R1bPm8nrBnmfl6WExvsx0/Ef8snENJ59/63KdswRob6y7wlXa/Y=@gnu.org X-Gm-Message-State: AOJu0YzYspLIAvb09SYsOOFZpF3pCAXsT5wewKt/63hG46W8LbH214sq 44AixBO7sl+yZWH9a+bgooMgVTbwVCHlijPs6dqT8kdnR7sHmI5qPe25C7Bx X-Gm-Gg: ASbGnctA2gKmLGKOejKhxYm7Tl/vOGhrXpfCb6sCeCaRB2KUKiBK4zyD8k8a5DtG4Zs iQFj7YUGvr8TnlAoUKDXhukFgYIMBqyu/vMTP+JM3HedJkxfd6rUI3VbehAjZ1k60fNuGzYmrmN 6mCoEPm6qhR1kuYBEEp0a8nfsNnzAPMRikETpQLePhIzTGcuKGajGq6WciiRw+WcCEdheidUTXq NpvivLsrSerjzIKBeGXq/YPYpmFGlVX/L66Pw+al1S1KWlCX4AMduY= X-Google-Smtp-Source: AGHT+IGmsOyov7AmedCOBeu6AhJ5uCHavHB38/DnrILI8BryBY9/mofrcAKryt7GlK2W1oQhRlquEA== X-Received: by 2002:a17:907:9804:b0:aaf:123a:f303 with SMTP id a640c23a62f3a-aaf123af418mr798789166b.55.1735314034218; Fri, 27 Dec 2024 07:40:34 -0800 (PST) Original-Received: from caladan ([31.177.115.143]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe49edsm1141174666b.106.2024.12.27.07.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 07:40:33 -0800 (PST) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Fri, 27 Dec 2024 09:55:57 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x62b.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:327209 Archived-At: On Fri, Dec 27 2024, Gerd M=C3=B6llmann wrote: >> Another observation: MPS sends SIGXFSZ and SIGXCPU to stop and resume >> threads. We could intercept those signals and block SIGPROF while the >> thread is stopped. Obviously a hack, but could still be useful. > > Do you know if it does the same on macOS? It sounds like something the > Mach heritage of macOS might kick in. Sorry, I don't know anything about Mach. The code in thxc.c seems to use a thread_suspend function. Helmut