Skip to content

Commit 136570b

Browse files
update README to indicate the changes that were made to LMDB in this repository
1 parent 1672f06 commit 136570b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ This wrapper provides exposure of the library's C interfaces to Swift, allowing
66

77
Changes in LMDB will be pulled into this repository as the upstream project evolves. The LMDB repository is mirrored here: <https://github.com/LMDB/lmdb>.
88

9+
## Changes to LMDB
10+
11+
Swift LMDB makes two local changes to LMDB in order to pass thread sanitization checks in [IndexStoreDB](https://github.com/swiftlang/indexstore-db). These changes are:
12+
- Use `_Atomic` instead of `volatile` for transaction types
13+
- Build with POSIX mutexes enabled and robust mutexes disabled on Linux and macOS
14+
915
## License
1016

1117
The included LMDB database project is released under [The OpenLDAP Public License](https://git.openldap.org/openldap/openldap/-/blob/mdb.master/libraries/liblmdb/LICENSE). This same license applies to the Swift code included in this repository.

0 commit comments

Comments
 (0)