guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32209: [PATCH] database: Use SQLite in Multi-thread mode.


From: Clément Lassieur
Subject: bug#32209: [PATCH] database: Use SQLite in Multi-thread mode.
Date: Fri, 20 Jul 2018 15:23:28 +0200
User-agent: mu4e 1.0; emacs 26.1

Ludovic Courtès <address@hidden> writes:

> Hello!
>
> Clément Lassieur <address@hidden> 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’?

Done, and pushed.  Thanks!

Clément





reply via email to

[Prev in Thread] Current Thread [Next in Thread]