Use open's flag to separate readers and writers, handler multiple ops at a same time #61
Labels
changelog
documentation
Improvements or additions to documentation
enhancement
New feature or request
test
Milestone
GDBM
allows an application to have multiple databases open at the same time. When an application opens aGDBM
database, it is designated as areader
or awriter
. AGDBM
database can be opened by at most one writer at a time. However, many readers may open the database simultaneously. Readers and writers can not open theGDBM
database at the same time.Speaking about application we usually mean a separate process. However, it is entirely normal for a multi-thread program to operate as a
GDBM
reader in one thread and writer in another, provided, of course, that the two threads don’t operate on the same database simultaneously.The text was updated successfully, but these errors were encountered: