Skip to content

Commit 442b0fe

Browse files
committed
Remove the read-txn-no-tls feature from heed3
1 parent f4216dc commit 442b0fe

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

heed3/Cargo.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@ url = "2.5.4"
4545
default = ["serde", "serde-bincode", "serde-json"]
4646
serde = ["bitflags/serde", "dep:serde"]
4747

48-
# The #MDB_NOTLS flag is automatically set on Env opening,
49-
# RoTxn and RoCursors implements the Send trait. This allows the
50-
# user to move RoTxns and RoCursors between threads as read transactions
51-
# will no more use thread local storage and will tie reader locktable
52-
# slots to #MDB_txn objects instead of to threads.
53-
#
54-
# According to the LMDB documentation, when this feature is not enabled:
55-
# A thread can only use one transaction at a time, plus any child
56-
# transactions. Each transaction belongs to one thread. [...]
57-
# The #MDB_NOTLS flag changes this for read-only transactions.
58-
#
59-
# And a #MDB_BAD_RSLOT error will be thrown when multiple read
60-
# transactions exists on the same thread
61-
read-txn-no-tls = []
62-
6348
# Enable the serde en/decoders for bincode, serde_json, or rmp_serde
6449
serde-bincode = ["heed-types/serde-bincode"]
6550
serde-json = ["heed-types/serde-json"]

0 commit comments

Comments
 (0)