From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Emacs without threads Date: Thu, 14 Dec 2023 13:43:09 +0100 Message-ID: <877clh6jky.fsf@ledu-giraud.fr> References: <87il516pgm.fsf@ledu-giraud.fr> <83il51qbiy.fsf@gnu.org> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7797"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 14 13:43:46 2023 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 1rDl46-0001qF-G0 for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Dec 2023 13:43:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDl3d-00017E-9r; Thu, 14 Dec 2023 07:43:17 -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 1rDl3b-000172-I9 for emacs-devel@gnu.org; Thu, 14 Dec 2023 07:43:15 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDl3Z-0001PP-N0; Thu, 14 Dec 2023 07:43:15 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=wVAXS3n1 BekvuTp7OQL0pE5Lm9BOtfZ1ob0iH6n9PTE=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=LXFSUhz0OyMqgAg9TaLsgkS4vN8XY7 8J++9ZUwxKYZiCgOWieIYBfuiNxavTamRmSGY3ZhAmE2Ly+DZ++dCfCw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=wVAXS3n1BekvuTp7 OQL0pE5Lm9BOtfZ1ob0iH6n9PTE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=AJq0Q1StSkKpQY2yuJyA5VPAcsy8QSjC9666sp L+B1EIquTLyNZ8aoMMwWoCBXcsvJ9UkBCvmapRhoZ4ZnhcGBvr/rrhbsr4QCWZ1vw6zQdx Ms8LJLxR+21tCy7EW19+jT0ZPsnVrz8VdRUXX3OzbiAZRpXatI//ZNTiC4CXoo4h96ca1g Iz0HDbFdWs20OYzbEu5pTJQNh7pZIdzOqQ/RG9hmPqRthHyPKuFbw0L1hOBPYEwLdenH+R KkkaHopPzR0LQphhY+W+FdDei/RRxawfLFskY/vJb8w/ddHB0bPJ4aBzrHY66aaJPwNAbt 1nw1W0qwTQJzVS03+Q1DPBXA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 39d928a8 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 14 Dec 2023 13:43:10 +0100 (CET) In-Reply-To: <83il51qbiy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Dec 2023 13:16:53 +0200") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:313776 Archived-At: Eli Zaretskii writes: >> Date: Thu, 14 Dec 2023 11:36:09 +0100 >> From: Manuel Giraud via "Emacs development discussions." >> >> I know I can build Emacs without Lisp threads support with >> '--without-threads' but how can I build Emacs without thread support at >> all? > > What do you mean by "without thread support at all", and how is it > different from what you get with --without-threads? I mean that Emacs won't be able to start any thread (for example via pthread_* functions). I thought that --without-threads only removed the Lisp support for threads because, from a debugging session, Emacs does seem to continue to start threads. (FWIW, I want this to simplify debugging because on my machine I cannot make GDB to switch to the correct thread or to continue running other threads) -- Manuel Giraud