Cargo Features
[dependencies]
hazptr = { version = "0.1.1", default-features = false, features = ["std", "count-release", "sanitize-threads"] }
- default = std
-
The
std
feature is set by default wheneverhazptr
is added without
somewhere in the dependency tree.default-features = false - std default
-
disable for use in no_std crates (for limitations see README.md)
Enables std of arrayvec ^0.4.10 and reclaim
- count-release
-
reclamation threshold is based on count of hazard pointer releases
- sanitize-threads
-
for instrumentation with TSAN