From 878492e756e831d8155673eee9561c1265c5dfdb Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Fri, 1 Jun 2018 12:49:36 -0700 Subject: [PATCH] gdbm: Update documentation regarding file locks. --- src/gdbm/mit-scheme-gdbm.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gdbm/mit-scheme-gdbm.texi b/src/gdbm/mit-scheme-gdbm.texi index 37e9651df..0d5bafb81 100644 --- a/src/gdbm/mit-scheme-gdbm.texi +++ b/src/gdbm/mit-scheme-gdbm.texi @@ -104,13 +104,14 @@ to a gdbm database, the connection is designated as a @dfn{reader} or a @dfn{writer}. A gdbm database may be connected to at most one writer at a time. However, many readers may connect to the database simultaneously. Readers and writers may not connect to the database -at the same time. +at the same time. (Note that these restrictions are not enforced by +the library nor the wrapper.) Each connection is encapsulated in a Scheme @code{gdbf} structure which should be used by one Scheme thread at a time. A mutex is used to block any thread attempting to access the database while an -operation is in progress. - +operation is in progress. No file locks are used by gdbm or the +Scheme wrapper to ensure exclusive access by a Scheme writer. @node List @chapter The exported bindings. -- 2.25.1