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: sqlite3 Date: Wed, 29 Dec 2021 19:51:32 +0200 Message-ID: <83bl0zjo4b.fsf@gnu.org> References: <87tufmjyai.fsf@gnus.org> <83y24g7dui.fsf@gnu.org> <8735mnr5cb.fsf@gnus.org> <83bl19zwwy.fsf@gnu.org> <87bl18g7r3.fsf@gnus.org> <83ee64ych1.fsf@gnu.org> <83o853pydo.fsf@gnu.org> <875yrbzjc5.fsf@gnus.org> <8335mfpox7.fsf@gnu.org> <83pmpjo79j.fsf@gnu.org> <83ilvbo2ab.fsf@gnu.org> <83h7avo1l6.fsf@gnu.org> <87o852cl7z.fsf@gnus.org> <83r19ym6vv.fsf@gnu.org> <87k0fqaxy8.fsf@gnus.org> <83o852m661.fsf@gnu.org> <83lf06m1ll.fsf@gnu.org> <87v8z99p1s.fsf@gnus.org> <83wnjolw37.fsf@gnu.org> <871r1waj1d.fsf@gnus.org> <83pmpglpun.fsf@gnu.org> <87wnjn78fm.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14924"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 29 18:52:37 2021 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 1n2d7t-0003h4-0G for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 18:52:37 +0100 Original-Received: from localhost ([::1]:58370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2d7r-0000ZU-MN for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 12:52:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2d6p-0008LG-Fh for emacs-devel@gnu.org; Wed, 29 Dec 2021 12:51:31 -0500 Original-Received: from [2001:470:142:3::e] (port=46444 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2d6p-0005Zd-1R; Wed, 29 Dec 2021 12:51:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1nFyGxn/JvluaB52GmfJxcrpO3HB4Fb0qz6sCRinKpA=; b=TK48zJSFyi4L ngpMxf6XfbHyBlXF0u5EpYKjXm4PaOSKV0RgIrKjCpHX+VrPdKP1udnOedU3ORF+XmPOnisgpl1CC xI2rsgEibNBYQ3JmK82i7eZrP8yWnuZ1S9E7Tv/5T+CJy6B2CmgrY7PzOOVTH2sJdmNnmnWpoh/hw Z/cejbZEoXNcoJ08jQKXiBTK/UR9d4LjUxbCc3yfcuRybpiJWkG57d3BXEcRNZnyb3ROk63auP1Fa rTMJ0j4QjK+Yhryjjy0wK3fh2i1Q9tEXvOj+vtboVertEwooaaKsNaOF19UCNNL9u5zeyN7O30tOe a5h/fWwPF80wjBJTojMEog==; Original-Received: from [87.69.77.57] (port=4833 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2d6o-0007OA-6t; Wed, 29 Dec 2021 12:51:31 -0500 In-Reply-To: <87wnjn78fm.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 29 Dec 2021 16:11:09 +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" Xref: news.gmane.io gmane.emacs.devel:283582 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Wed, 29 Dec 2021 16:11:09 +0100 > > Eli Zaretskii writes: > > > That'd be fine by me, I think updating the same value simultaneously > > from several Emacsen is a pretty corner use case anyway. > > Now done. The "simple" test still fails sometimes. I even enlarged the sleep-for to 10 sec, and it still fails. > > We can delay the solution until someone really needs that, and > > explains why. We do need to say something about the races in the > > docs, I think. > > Do we need to say more than it does? Which is: > > -- > But note that this is done without locking, so if many > instances are updating the value at the same time, it's unpredictable > which instance ``wins''. Sounds good enough, thanks.