You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@ This wrapper provides exposure of the library's C interfaces to Swift, allowing
6
6
7
7
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>.
8
8
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
+
9
15
## License
10
16
11
17
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