From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Some experience with the igc branch Date: Mon, 23 Dec 2024 23:39:41 +0000 Message-ID: <87jzbqas1d.fsf@protonmail.com> References: <87o713wwsi.fsf@telefonica.net> <86seqe4j4f.fsf@gnu.org> <87ttaucub8.fsf@protonmail.com> <87pllicrpi.fsf@protonmail.com> <86bjx24ad0.fsf@gnu.org> <87cyhicocg.fsf@protonmail.com> <867c7q4592.fsf@gnu.org> <87y106cfb2.fsf@turtle-trading.net> Reply-To: Pip Cet 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="35914"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , gerd.moellmann@gmail.com, ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org To: Benjamin Riefenstahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 24 04:22:17 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 1tPvUv-0009Bd-7V for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Dec 2024 04:22:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPvTR-0003sO-FM; Mon, 23 Dec 2024 22:20: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 1tPs1h-0003b9-2M for emacs-devel@gnu.org; Mon, 23 Dec 2024 18:39:53 -0500 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPs1e-0007fJ-EE for emacs-devel@gnu.org; Mon, 23 Dec 2024 18:39:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734997187; x=1735256387; bh=r8w94458KbxXoEdacW/1H4rzpB9+lLRzn9TGzc8nkM0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=hcf5EQ7o/dhk8Kh/Fx7X4UYrnMHoClXibA9nfVZtrYr5C2Quc2PwqiFMRfzOSDKUN S9rIanhBzdWcjYi225dQWaOLynl5edNCiRyv6nQb+pGn0lJJ77Ruj013Ptgs3hJQRr BxzRQg8y93rC+wxqd+3YHzUGc+mS/+sVxa4i7ol0JL2WC5h3w8/eQIOOgQUAmnoZ3z Rz1wrMXKRwnQfbUCZz9ZjAwfFnZ8GBOmEdfrhwZJ798/qhgT0fAI81frhMopYsMdDH 6Z9IMlrYCbEmdZS81Lx8iWseK/K7V6zDv8bI3NPn3u4tMdu8Ub5qmDjnrRwcKxDax7 gs2g4XhvAvhGw== In-Reply-To: <87y106cfb2.fsf@turtle-trading.net> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 6fc97cc53c3a201649dbf170745563157000118a Received-SPF: pass client-ip=185.70.40.131; envelope-from=pipcet@protonmail.com; helo=mail-40131.protonmail.ch 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, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 23 Dec 2024 22:20:43 -0500 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:326951 Archived-At: "Benjamin Riefenstahl" writes: >>> From: Pip Cet >>> >> +#include > > Eli Zaretskii writes: >>> > We cannot use pthreads.h in portable code. If we want to use >>> > threads, we need separate implementations for Posix and Windows, >>> > like wedid in systhread.c for Lisp threads. > > Just a drive-by observation: Signals are a POSIX feature, so we have to > think about the potential conflict between signals and MPS only on > POSIX, not on MS Windows, right? I believe it affects all operating systems we're playing with (well, I'm also playing with FreeDOS but I'm not going to port MPS to it. It's my New Year's resolution not to). The allocation thread approach should work for all of them. If we have stdatomic.h, performance should be acceptable. Pip