GNU bug report logs - #32209
Cuirass: Use SQLite in Multi-thread mode

Previous Next

Package: guix-patches;

Reported by: Clément Lassieur <clement <at> lassieur.org>

Date: Thu, 19 Jul 2018 10:56:01 UTC

Severity: normal

Tags: patch

Done: Clément Lassieur <clement <at> lassieur.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 32209 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Clément Lassieur <clement <at> lassieur.org>
Cc: 32209 <at> debbugs.gnu.org
Subject: Re: [bug#32209] [PATCH] database: Use SQLite in Multi-thread mode.
Date: Fri, 20 Jul 2018 14:55:12 +0200
Hello!

Clément Lassieur <clement <at> lassieur.org> skribis:

> This disables mutexing on database connection and prepared statement objects,
> thus making us responsible for serializing access to database connections and
> prepared statements.  It may result in a performance improvement.
>
> * src/cuirass/database.scm (db-init, db-open): Pass the SQLITE_OPEN_NOMUTEX
> flag to SQLITE-OPEN.

Could you copy (part of) the paragraph above as a comment above the
‘sqlite-open’ call in ‘db-open’?

Then I guess you can go ahead and push!

Thank you,
Ludo’.




This bug report was last modified 6 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.