From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Some experience with the igc branch Date: Sat, 28 Dec 2024 09:10:36 +0000 Message-ID: References: <87o713wwsi.fsf@telefonica.net> <86zfkjznat.fsf@gnu.org> <86ldw2zy6s.fsf@gnu.org> <87h66p5fy6.fsf@protonmail.com> <86cyhdw3ey.fsf@gnu.org> 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="40449"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Pip Cet , ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 28 10:11:42 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 1tRSrG-000AQz-BG for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Dec 2024 10:11:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRSqJ-0003a2-2e; Sat, 28 Dec 2024 04:10:43 -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 1tRSqH-0003Ze-II for emacs-devel@gnu.org; Sat, 28 Dec 2024 04:10:41 -0500 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRSqG-0003S7-5I; Sat, 28 Dec 2024 04:10:41 -0500 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-aa69107179cso1297589766b.0; Sat, 28 Dec 2024 01:10:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735377037; x=1735981837; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=VDmJ3iG6pF7pVCutj1ykHB1P/bXpeFNyDuBqEnUdkcs=; b=BtAWjXpxkc5Va1u3Iqi37b36RezgzC4fZ8M8X6v+zEAtC2PKhsEZIfAyd6L3Dag8l+ ndESSDsjrwmJTTbnfJBYXYqrA1/hIRPhnGy8tO0sVscrV1D7NMzPwxKKVeC0i7pdv60i 3BtcWjRnUjnPnYEVOqnZfa6GtsyC9zgQo+nvi/dAN00LxZpaHxnrQeAQf9FuUhaYAFWJ 3iP24na6MR6fZA98EZY6QIC1TrzedUTdZu6XOn4HQPZRp6RjoB0ZEx5zr+ZBY0hgA2V2 5X1IVb6N5Bjua8ZykSOXHY7sxUfa24d7oDOh1EImIYllX6xNIksfHfsHayj/o303UJ/3 JBsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735377037; x=1735981837; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VDmJ3iG6pF7pVCutj1ykHB1P/bXpeFNyDuBqEnUdkcs=; b=gTRhaP/bFdTI/fudjMSUM9/EgQuSGe/EU/lcZzNGiRz/UsZfiC1lnMBiSJdUobThfL tAJuWeJe+OrMX4jz/orbRYawhJNKfZNXAfofgBCx2qKAOxgYVCgoa5uzI7MHvsQgWMw7 1rlK7lLbrRSIGyPlLoEgPboS3POJq7woz70tF050dZeMG3JKKxDp9TwH9fEOvjGksuIr YAn/GkB0Ytl90WMnTFEHxHVXpVyAazwhHRniCZjo7wKWJUwN5fhtalo6v1XRGFk7n60T +v7dZa8n6+1qCjkX8ZGUmzQ0NQxJ04R4mp3hD+pQBFkSPwhS6ikv1FDbBA5/CQC/79Lj zd5Q== X-Forwarded-Encrypted: i=1; AJvYcCUyp492VKXwIo8vFrkPMryLGd/zo2baLG/oNhcafBQ7x0fAxOacCBUPCoTP68grfmmkuc9I6A==@gnu.org, AJvYcCVDygHLvI1tWG5avEKkniQJaa6pgyEypm+/95X2maihLcnuDNSY1aw2RYNB6yBLcQiXF28jv6XojQ==@gnu.org, AJvYcCVFgae3gySc92WzsfJj6UjASTNynRL/I/aPHI/SgQ5JvZAFaseshje1e9xkY74VzFQbV+JVfku3LrBj9Yo=@gnu.org X-Gm-Message-State: AOJu0YxXEjgnOhuDi122f40CAP7MsbFTbs0wxBPkc6XE8g/1idLR+UrY sMgPe8aIbUBXzgeSXoI2cE/HOhWpSS8EO3dsAuYu7hIXv4cejyV9EXaBFPnft46Cq7a4qAR8mKT nFBQueqQdExKFVxJrB/XAYDWM1/s= X-Gm-Gg: ASbGncvqSOSBtNANjPPHFhojMAYM6B3Ub5dCTBXnEtHvT7+/CtV8EpSRIFpOI5Akwwp V9NHx4W+kHvHQbvM5i7CQDJIOQQamK+RDEJCD X-Google-Smtp-Source: AGHT+IFxgjB5lYbLcYqO3IG1wzeTqtXDCTopxnvKzVCS+outNtwVOw8LwS37FcDlOViZFTAMT6FFGdjmNwPFGjeiZRQ= X-Received: by 2002:a17:907:7284:b0:aa6:8430:cb02 with SMTP id a640c23a62f3a-aac3397d1ccmr2676654566b.61.1735377037272; Sat, 28 Dec 2024 01:10:37 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 28 Dec 2024 09:10:36 +0000 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=stefankangas@gmail.com; helo=mail-ej1-x629.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:327243 Archived-At: Gerd M=C3=B6llmann writes: > MPS is concurrent. > > One can tell MPS that one has a certain amount of time to spare, so it > can do work then, which I think runs in the main thread. I do that when > Emacs thinks it's idle. Apologies if this is a naive question, but: What do we gain from using the main thread for this, instead of always letting it run in a separate thread?