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: igc, macOS avoiding signals Date: Tue, 31 Dec 2024 16:13:59 +0200 Message-ID: <86ed1olz2w.fsf@gnu.org> References: <799DDBC5-2C14-4476-B1E0-7BA2FE9E7901@toadstyle.org> <87msgdkt29.fsf@gmail.com> <86h66lnjrt.fsf@gnu.org> <868qrxnfrw.fsf@gnu.org> <87a5ccl2zx.fsf@gmail.com> <87h66kfae5.fsf@gmail.com> <87y0zwneuh.fsf@protonmail.com> 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="18754"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, gerd.moellmann@gmail.com, 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 Tue Dec 31 15:15:50 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 1tSd2E-0004gW-Jv for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Dec 2024 15:15:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSd1N-0005ds-Vg; Tue, 31 Dec 2024 09:14:58 -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 1tSd1J-0005dX-Ur for emacs-devel@gnu.org; Tue, 31 Dec 2024 09:14:54 -0500 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 1tSd1J-0001XB-6K; Tue, 31 Dec 2024 09:14:53 -0500 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=ykRRjlfilbFWdAlDqjnVRvYljZVhg4bnInBspZDwJm8=; b=Zkvpg9g7XzIIQJbbBAC2 mUDVFdWmh+HkfLmt6LD1tW64/m3au8oZraE/uaNp+4dNPzkVQYLuZ1bi0bwppnI42ELA/NzLtJfVu 2a7mX2WxV/fJf3ZbC7MkPhJTeGoUDnc6i1koUUmDSXOZd4KBJTtrNDP1Q0JLM6AC3lTaEF1PsN/Tr qu5d0Ddxq05CmQR2CvHDOEpk46lZqe3m3q0db8Vmk81sgCaSaAlbK3HBDZIYazozBOSB1xaCISgjl dexcQGtQ5jZvD6ZwcMNqwunoYzIpT5ezI+FVTTPnsdu+XsTZDDieWGPfQ2n7KXFRhlCZXOdxgWiln sfaHUrN+LCL2hw==; In-Reply-To: <87y0zwneuh.fsf@protonmail.com> (message from Pip Cet on Tue, 31 Dec 2024 13:49:05 +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:327505 Archived-At: > Date: Tue, 31 Dec 2024 13:49:05 +0000 > From: Pip Cet > Cc: Gerd Möllmann , Eli Zaretskii , spd@toadstyle.org, emacs-devel@gnu.org > > Alternatively, let's all switch to FreeDOS! No memory barriers, no > signals That's not true: DJGPP (which is the only way to compile Emacs on DOS) supports signals. SIGSEGV certainly, but also SIGPROF and SIGALRM, AFAIR. > (It's true that most DOS "extenders" appear to use the MMU, and that > might make it sound like mprotect() could simply involve walking the > (unprotected) page tables; but my understanding is it's 4MB pages, which > is inconvenient for us). The only relevant DOS extenders for Emacs are DPMI hosts, cwsdpmi being the first and the most obvious candidate. cwsdpmi supports mprotect. But we digress.