From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: a random backtrace while toying with gdb Date: Sun, 30 Jun 2024 23:09:33 +0300 Message-ID: <86r0cefb0i.fsf@gnu.org> References: <87bk3jh8bt.fsf@localhost> <87wmm6rcv1.fsf@gmail.com> <86le2mhhsj.fsf@gnu.org> <875xtqramd.fsf@gmail.com> <86cynyhfsn.fsf@gnu.org> <87v81qp91g.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39794"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, gerd.moellmann@gmail.com, yantar92@posteo.net, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 30 22:10:28 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 1sO0sW-000A7x-27 for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jun 2024 22:10:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sO0rj-0000qF-DR; Sun, 30 Jun 2024 16:09:39 -0400 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 1sO0rh-0000pl-1t for emacs-devel@gnu.org; Sun, 30 Jun 2024 16:09:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sO0rg-0004Uk-GJ; Sun, 30 Jun 2024 16:09:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EK/imsjKah7v+PgvE9e6Q0+5g8M6ZdqjNh/S7ZUce9Q=; b=a1N4w65+hJ3H iTNtpDl4DjTXdtGUx/dgmOH6X2XhK14uei9HKQYhzP7myzAa4k+cSaVvR47LuyF2+1GuFY67IsAOG JZsSdiJ6cRIotyrIh0CpMEjgWnq3Z9mx6+kzFan1I+L7zP0VLveRHmNoOBj01z2yFxGE2IFKniTDH DBlEUk8ohlB8NPj5M7zRd6Sgxf/3IVVHLepZoxDYIOIEl+I4d/ApJ80ikk9hb0PYj1W5euuN6JyuQ 4l8OWY6XY980djHsYVmbTca7tFNu+nB0J5+u1qfnVtG7+4iMqwnjCm66BvdpPYqGufLzBTiainO4X 8sAGR3lVpeGvEh0Q+AQ+Qw==; In-Reply-To: (message from Pip Cet on Sun, 30 Jun 2024 19:25:36 +0000) 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:320985 Archived-At: > Date: Sun, 30 Jun 2024 19:25:36 +0000 > From: Pip Cet > Cc: Eli Zaretskii , gerd.moellmann@gmail.com, yantar92@posteo.net, > emacs-devel@gnu.org > > IIUC the consensus is you can set an "int" or "bool" to true, or write to a self-pipe, but that's about as much as you should ever do in a signal handler... That's not true, AFAIU: you can safely call any of the dozens of functions listed by the signal-safety(7) man page.