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 18:46:51 +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="13079"; 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 18:47:53 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 1sKhQX-0003Hm-KP for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 18:47:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKhPe-00030W-MB; Fri, 21 Jun 2024 12:46:58 -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 1sKhPc-0002xj-W1 for emacs-devel@gnu.org; Fri, 21 Jun 2024 12:46:57 -0400 Original-Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKhPb-0008Ur-CZ; Fri, 21 Jun 2024 12:46:56 -0400 Original-Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-57d203d4682so2787787a12.0; Fri, 21 Jun 2024 09:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718988413; x=1719593213; 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=fsJTG5dRDBgVL5Iw+GK4+GMjpnqf/kfXeoZ9w1STQGU=; b=Wd9Eu092FmcRF2qN2JtcOKqxfZNO6wgxT0+6ERsQaw722OeNc6r1gOUA1s1XQ9gaZd //tPRghFcvhKamzpV56hBZXUNEhg3yGXn3QVisqh896BFmd8/LqO7nyJXlgU5k6aUDPR znvzg5pwAJMPIFzACtGlKJIW/kOkkohP8cubrdJIPUFALwJTCLSZjD1wc758YQe4DwEj LfElGI6VCkgS97aPivQBj/8JgaamG7opZaCLkBcQ31ADEdSY9GyG87uoOh7CNu3f25BA MH+650M1TWnTSLY66DecuChc9v4sIiBD8iIfxlu0TgXIMiSb1cnNQsMZZ/URnUrHbXpV 2jhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718988413; x=1719593213; 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=fsJTG5dRDBgVL5Iw+GK4+GMjpnqf/kfXeoZ9w1STQGU=; b=B832k3u6gxHY8FQ1C+gxHdKTcth1AZe4EOeKA4TXUXRjPSA9IgPRXEXD0/HDARMaV0 JZUzAQcWlrgzE5fFm4cBBxl2LhHfbUKVqsDuSMcnDHsUYpsXca87aDjhJOWZbgeoNOdp Q3k9S3tZjMDCvJAxWp8Q6vzByardxLckCZpRl74Zty/NnT2yIJb+FWwQZ7MYLbEIqZZH WtooyPaNRDakGZFUIk0qVPuIzecftE+4zg6/DtrA0FbBvl2NI4k5EAOcrdejdDTVtj3t V154c0G5bZIihoC4hZS6IdN4afz6f3Lf/+rgCwhVvcy9IaHpqakNE5cHcr9i5nz+rXbi 12Dw== X-Forwarded-Encrypted: i=1; AJvYcCUyn/YcPLjOgv8tLf6h7pEPL+6qFPoyDXN1zAUQXupl0N/x30T42jQ3OcGCeJgjkKSpGkxW4eqMMK87KqI0ECrAqyfxw9trv715GyqmRXLWOO0= X-Gm-Message-State: AOJu0YztwiCz7BY2aajE3G1RqsfeG5sPLOhu1cmjARXCXXRLsk+T01Wg KHFsnoWO8V0pBZJo8LLQI5vj+ZPEw46t4xKOmhybrusOc0gPpF/sKjS+2Q== X-Google-Smtp-Source: AGHT+IEU40PA8q2/cW3RNytymRZjj8CeO0iELv8o3Z2Ky4kevdz2c52yYqZ+WxxVhnrTBzIXz3DH6g== X-Received: by 2002:a50:d01a:0:b0:57c:563b:f37f with SMTP id 4fb4d7f45d1cf-57d07e85144mr5974660a12.19.1718988413091; Fri, 21 Jun 2024 09:46:53 -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-57d303da249sm1152304a12.14.2024.06.21.09.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:46:52 -0700 (PDT) In-Reply-To: <8734p61evv.fsf@gmail.com> (Helmut Eller's message of "Fri, 21 Jun 2024 17:42:28 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x531.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:320427 Archived-At: 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?