From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS make-thread Date: Fri, 21 Jun 2024 20:31:33 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> <87le2zxsqx.fsf@localhost> <8634p6n7jd.fsf@gnu.org> <87tthm3gq2.fsf@gmail.com> <87sex6ags5.fsf@localhost> <87msne3flr.fsf@gmail.com> <87frt63dvt.fsf@gmail.com> <86o77ulgk8.fsf@gnu.org> <87zfre1p3r.fsf@gmail.com> <87zfreo5u6.fsf@localhost> <87plsa1n8k.fsf@gmail.com> <87wmmio3vq.fsf@localhost> <87jzii1hbs.fsf_-_@gmail.com> <8734p61evv.fsf@gmail.com> 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="26686"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , Eli Zaretskii , emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 21 20:32:30 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 1sKj3k-0006l8-7M for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 20:32:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKj2z-0002dM-I2; Fri, 21 Jun 2024 14:31:45 -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 1sKj2x-0002cG-LF for emacs-devel@gnu.org; Fri, 21 Jun 2024 14:31:39 -0400 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKj2v-0001Xw-M1; Fri, 21 Jun 2024 14:31:39 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-57ccd1111aeso2914597a12.0; Fri, 21 Jun 2024 11:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718994694; x=1719599494; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wLblhhdcXA6xxHYzKbioeaaON66MFHsP04p45jODZCU=; b=OnLjX7rSnkql70eDSKRpr121It7Maoyw6kj7lliget1HMQCWWnnGlLB7+MCljVPCG7 /VJCdVXjHn3/YrplwARmmW2gsKIrfsEz1m+guvLAzu16ygfxpIWbZeqP7MwR8w6Q4maF m7a+GNjzsXMYuIqZVRl7BcldtRr93V9vcIsPYF/Db0xV5+hJ3S7cDeYWJcUj+QKGpjR6 Pc3JHHH/sap9WSgvejaoyHYWW1g7FzpaMcnelhY2YJDUpwfbJUS2uAPsH9huRjRVXRmW QE7Zg+P2BwOebrPCe0KEeIUH7k8i81D1r8Y1WUq3eQIjRPwJ6ZUZdsyopQND+8aZd3rI kZPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718994694; x=1719599494; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wLblhhdcXA6xxHYzKbioeaaON66MFHsP04p45jODZCU=; b=qaoJRbFyVqDjsg6GZrP5M8EEJiTyEhimYY2gn1DSubs37dSMo8DckvoSf39j3r8+xg cdECWq48tOXdBID6AlWnOuK55SNEyK5mRyPvVv2NlHCtmfQ0ipR8fbxLptjY46vMzSHf Y0nNAPYVSbaz41cZXWKyZwxLwfYOxM2LMEUiUXHlXZ9ft4vrwVC0paex1+WjQ06TnRqn BTpQ9UpTHkDYv4qd7es7g3/kfTURnqjXxdiOiMBxIqtEG2ffm06S5HYGMATZ2zX/7yRy eDtJH+nbCNtn9j6sVk52E1OSE03xZ27LT35QwgWH/q6vNx9um4MhrVZx4G+hhj3TDwHP Zpvg== X-Forwarded-Encrypted: i=1; AJvYcCVDR2u3w/MGq3qlM1fmOcHDjXyvKwR7N7C/a9kZhayY6OijKnHYr7gn7W8r80jMY94rNbEowesxbkJCuzta+OZZlZPJ94r9xc/LipfGeywvxSM= X-Gm-Message-State: AOJu0Yz7lXef7nNuz085gt80Dc+c/oZSPImY17cVJmeIjDpVCAqktUrq EvnQcbTUAzDjllYC9nBcrEowqDMIgrZxC8CZkeZ8P3OM7xhNuUpVShq6JQ== X-Google-Smtp-Source: AGHT+IHWmxQGOBxiqxfKcBZDHWlG56iM671zU3ab1EImAGqHNozG918bfNNzqKE57hzpWkagyG4aJQ== X-Received: by 2002:a05:6402:50c9:b0:57d:15d4:a685 with SMTP id 4fb4d7f45d1cf-57d15d4a9fdmr5822631a12.40.1718994694332; Fri, 21 Jun 2024 11:31:34 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a72a.dip0.t-ipconnect.de. [79.227.167.42]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d3042fd17sm1272814a12.47.2024.06.21.11.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:31:33 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Fri, 21 Jun 2024 18:46:51 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x535.google.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:320430 Archived-At: Gerd M=C3=B6llmann writes: > Helmut Eller writes: > >> On Fri, Jun 21 2024, Gerd M=C3=B6llmann wrote: >> >>> It's the xfree in run_thread here: >>> >>> struct handler *c, *c_next; >>> for (c =3D handlerlist_sentinel; c; c =3D c_next) >>> { >>> c_next =3D c->nextfree; >>> xfree (c); >>> } >>> >>> c is an MPS objects. I can fix that later after verifying that all >>> handlers are now in MPS. >> >> I think current_thread and all_threads also need to be roots. > > Ok, thanks. > >> >>> Unless someone(tm) is quicker, of course. >> >> I'll delay looking at threads until native compilation works :-) > > I thought native comp works for you? Pushed, please check.