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 17:14:23 +0100 Message-ID: <87ed1t6r34.fsf@gmail.com> References: <87o713wwsi.fsf@telefonica.net> <87ttaucub8.fsf@protonmail.com> <87pllicrpi.fsf@protonmail.com> <864j2u442i.fsf@gnu.org> <87a5ch5z1b.fsf@gmail.com> <87plld5pev.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="8435"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , Eli Zaretskii , ofv@wanadoo.es, emacs-devel@gnu.org, acorallo@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 27 17:14:59 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 1tRCzK-00025j-MU for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Dec 2024 17:14:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRCyr-0000BS-OB; Fri, 27 Dec 2024 11:14:29 -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 1tRCyq-0000BK-D3 for emacs-devel@gnu.org; Fri, 27 Dec 2024 11:14:28 -0500 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRCyp-0007hR-3s; Fri, 27 Dec 2024 11:14:28 -0500 Original-Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-aa66ead88b3so1368306066b.0; Fri, 27 Dec 2024 08:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735316065; x=1735920865; 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=ltq7D0VG/9X0zzBhxDM+uOsAOhl7viBgMJGiypnLnAg=; b=P4OKe8MP2tc3k3xma2eDQKCgEYTg+lsR77/p/PzJERyIQGvrU3EaJ3BYT2xTRD3byJ 4KWWBphOFd4gnXwW6kPM8LIQi2eSHLJEvRvj/A2DQdotVhEjabUlWWuVLWnoc31IDwkw 5euk8krquGOkDPujdSUDswon+bECeX19FUSNtaziiG5I1CZ1TZdZPAsyJKWP8zRTF2oG cClo+nGTleTfLlvSmb8NQykixlzCIZIXQrqJSq8ryonXCW1YAQwqUFkWyJa21DRaz7Rd oyRYt8QFFrgKVjAq6GPgsq6ewGsc6ur4HSUpxk8+bp/9tJLEkVajIzS+oJ9IixAcqv2v XwLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735316065; x=1735920865; 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=ltq7D0VG/9X0zzBhxDM+uOsAOhl7viBgMJGiypnLnAg=; b=PdgmVL0tXG8cUlJkRl8YYmgodfg4BiKw/2Yjc65EFWgkDixJreP0X2SNPjvlyUYOwN yuptsEkwbxTmOwqodzA+QeIHAdnacdsy1JTYbJJf5gnz50VDDfoRmjPXgFWHgqTA8McP 7D0d4T8jBwNFeIm075VWP0uQFgnO6nIsvvFSYe/ggNQn25ioiyka23lsYRqmVNZ05w/8 6rskV5OCzzeDchh5WU44jZKen8yZAYJnBL7KWQKm0SZvVepXAbb0imAa4JhYzaw5XL/X qcjjG9iUTWrHFervlpzEFA+Jdz+6zM+T5lI/6THEUvT84r68Ep7ghDYwWnSI8dKgaGU7 vblA== X-Forwarded-Encrypted: i=1; AJvYcCUQYcHYE915EFCproE0zNeVOZcwXg4HpZLOIHwv6L6riDFwszcBg4Cfw2Hx4rVfwinIBn8toeYRk6mPfl4=@gnu.org, AJvYcCV0T+xhO+HSIx9y6E655DHu1nzj/WRnwKARx6qMr5iCLhnqd0f2ziNBZN//icUoeGYZzgQyhg==@gnu.org, AJvYcCXrIXSNXRLB/XJATLAW9wOEwUbrcX0FuehnkbncU+6YGGxNcAqoQ6Cn+Mx8E+yvQsmT8Kpp13hBUA==@gnu.org X-Gm-Message-State: AOJu0YwYMbjTVaMa7QLOUMpMJTofWARJDMRSr5V4dfapa4qo+bW9A0RH u1uB86XqzQhyOcya8zCyoba3iW58ZECxCmmriPHrvuiZxzGXWaL35uPu4/Cy X-Gm-Gg: ASbGnctAf/wXNpaeKhu9wI8wcabvjKD28VfkWA5nvQLEFt+sSVb0gysBSDFAiv4Un/G CsyQJH4mgwnn0J5dPonh48oKUEUnZzA6Y0lK3Bh72BogaN0FojJGGY0pLbVWx6FG7B3RFD0ACG/ 17FyE6fD7QKjFPF/0248rXunHt08ozos9f2ttG0VXRD3wOVD12DBJTXHrBuEzo4SkmCz2KVHo2y rh6VFFMIz+XIREsF93BwOM/zg06LAdF9obninHaH0gJ/Cg1LJqXksI= X-Google-Smtp-Source: AGHT+IGI/1nxRqdyfWTdctKJrxLV3LQmTM8/X3ikRTWXnqdhaqjdzu0sVN+jMhUm4MgYEKPaFLsorg== X-Received: by 2002:a17:907:da5:b0:aa6:8ed8:a82d with SMTP id a640c23a62f3a-aac2cf50bb2mr2869870566b.31.1735316064556; Fri, 27 Dec 2024 08:14:24 -0800 (PST) Original-Received: from caladan ([31.177.115.143]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0eae5902sm1127207766b.85.2024.12.27.08.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 08:14:24 -0800 (PST) In-Reply-To: <87plld5pev.fsf@protonmail.com> (Pip Cet's message of "Fri, 27 Dec 2024 11:36:43 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x62f.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:327216 Archived-At: >> 1. The profiler periodically sends a signal, say SIGPROF, to the main >> thread. >> >> 2. In the signal handler for SIGPROF, the main thread synchronizes >> itself with the profiler by communicating over a pipe (like the Unix >> fathers did it). It sends some token to the profiler and waits. > > ...forever, if the profiler thread has been suspended at this point. Hmm. Indeed. So back to the drawing board. Helmut