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: sqlite memory allocation and async signal safety Date: Thu, 24 Mar 2022 13:03:51 +0200 Message-ID: <83tubnd33c.fsf@gnu.org> References: <8735j7btyj.fsf.ref@yahoo.com> <8735j7btyj.fsf@yahoo.com> <83v8w3d6cy.fsf@gnu.org> <87zglfwszu.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8083"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 24 12:10:35 2022 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 1nXLMQ-0001ur-H3 for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Mar 2022 12:10:34 +0100 Original-Received: from localhost ([::1]:33230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXLMP-000484-67 for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Mar 2022 07:10:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXLG6-0006Hj-Bj for emacs-devel@gnu.org; Thu, 24 Mar 2022 07:04:02 -0400 Original-Received: from [2001:470:142:3::e] (port=53874 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXLG5-0003VQ-EP; Thu, 24 Mar 2022 07:04:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=T5DSYjWFqMxWOgcDI+JcB5uZ9PcIVp9tfwtth4j0eTU=; b=iGO9IHHgKc0JLygnvR82 K/Yz5pweFpK9y6/VHL9eqewUO2Dqh6GMXOHltaDSt8yOmn95iD6jO/bP3DaHyxYHJslAZ6b8MUMEC 3Gea1TbxgcC5Fdp/HgkH3FEDUtwr7TnmIcBk9fX+3sYvskvd1WeXbIuk6GomCXyKouQT8kjB5u/j5 gwlMrWGz2B6c/G4vf8ona1rOZ2oOTE1VkHaQe0cH1NM39ibxvHSTPXXit/jarqRLjQ6bnkoGKSd27 uH/8BbUKV1FqbXmzJmIxsKMjKetNbya+kdWfl6Mh/clIqBQS17UVoVBAGsWSpaIEQz4f8hzS2sl8M N7k6DJmRC8GQ/g==; Original-Received: from [87.69.77.57] (port=3736 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXLG3-0007ym-Ue; Thu, 24 Mar 2022 07:04:01 -0400 In-Reply-To: <87zglfwszu.fsf@igel.home> (message from Andreas Schwab on Thu, 24 Mar 2022 11:21:41 +0100) 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" Xref: news.gmane.io gmane.emacs.devel:287415 Archived-At: > From: Andreas Schwab > Cc: Po Lu , emacs-devel@gnu.org > Date: Thu, 24 Mar 2022 11:21:41 +0100 > > On Mär 24 2022, Eli Zaretskii wrote: > > > when system library malloc is called, which AFAIU is mostly async-safe > > nowadays on modern platforms. > > malloc is definitely not async-safe. OK, but still: we no longer call malloc in our signal handlers, I think.