From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Gap buffer problem? Date: Wed, 11 Dec 2024 21:08:34 +0200 Message-ID: <86a5d22g25.fsf@gnu.org> References: <86wmg7bso1.fsf@gnu.org> <87cyhzmzbp.fsf@telefonica.net> <87bjximwnj.fsf@protonmail.com> <87ttbal9qx.fsf@protonmail.com> <877c86l1aj.fsf@protonmail.com> <86o71i2m2e.fsf@gnu.org> <87o71i3yhg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23648"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, pipcet@protonmail.com, emacs-devel@gnu.org, ofv@wanadoo.es To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 11 20:09:03 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 1tLS4y-0005v1-Rc for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 20:09:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLS4d-0002dB-VQ; Wed, 11 Dec 2024 14:08:39 -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 1tLS4c-0002d2-9d for emacs-devel@gnu.org; Wed, 11 Dec 2024 14:08:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLS4b-0004RH-7U; Wed, 11 Dec 2024 14:08:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=JgRZQgpg1aAc3jPXu3VTtT3+5lyNccHBwprpkLxn8wM=; b=HMQtpPglHqRXHHOwzmP+ cKJwi90pxTCs7FN7z3rDuLwgqbFAb2eGCZ5kz49Vok7y9TrFFd/0X8ApEvub1g/lxQ6ioBGj4s8YW 5LS6Hlhvnmm9bX1Kl9R6nTzyItoE4iH6nu6J2TkAAylXnlab1fqjfupTW7iprX6RmoFJwPH7CkW4i srvbcTRVnhVh0Ac17uisIcwxmbC2PX8KOFJL7Bvtnsq2SkYkMND34/VdCzhFB8w6EiVMOVhMiP8zD Fw370YGRl1DdphsaF83AHNuHPM2G3LZwdSJEDeq/tewcVMOYRNaeRpQ+DOSvedIQeqFf5ZdHmvKmR 2zb9g8Mj5PA9Kg==; In-Reply-To: <87o71i3yhg.fsf@gmail.com> (message from Robert Pluim on Wed, 11 Dec 2024 18:45:15 +0100) 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:326377 Archived-At: > From: Robert Pluim > Cc: Eli Zaretskii , pipcet@protonmail.com, > emacs-devel@gnu.org, ofv@wanadoo.es > Date: Wed, 11 Dec 2024 18:45:15 +0100 > > >>>>> On Wed, 11 Dec 2024 18:13:41 +0100, Gerd Möllmann said: > > Gerd> Eli Zaretskii writes: > >> > >> If it can be done by two processes, it can also be done by two threads > >> in the same process. Right? > > Gerd> Yes, I think so. > > But then you have to throw a lock over all the memory in the > non-display thread that might affect redisplay No, you copy on write. Exactly like the OS does with forked process.