mirror of
https://github.com/AntelopeIO/chainbase.git
synced 2026-07-21 13:53:40 +00:00
Updated comment about thread-safety in README.md.
This commit is contained in:
@@ -120,7 +120,7 @@ same time, but all writes must be protected by a mutex.
|
||||
Multiple processes may open the same database if care is taken to use interprocess locking on the
|
||||
database.
|
||||
|
||||
When using the `map_mode = mapped_private`, it is not thread-safe to construct a new chainbase instance
|
||||
However, it is not thread-safe to construct or destroy a new chainbase database instance
|
||||
in one thread while other threads are writing to other chainbase databases.
|
||||
|
||||
## Persistence
|
||||
|
||||
Reference in New Issue
Block a user