Commit 644c763b by Josh Triplett

Document that `git_odb` is thread-safe

Commit 4ae41f9c made `git_odb`
race-free, and added internal locking. Update `docs/threading.md`
accordingly, so that APIs built atop libgit2 (e.g. language bindings)
can count on this.
parent 44ec8b5c
...@@ -21,6 +21,9 @@ There are some objects which are read-only/immutable and are thus safe ...@@ -21,6 +21,9 @@ There are some objects which are read-only/immutable and are thus safe
to share across threads, such as references and configuration to share across threads, such as references and configuration
snapshots. snapshots.
The `git_odb` object uses locking internally, and is thread-safe to use from
multiple threads simultaneously.
Error messages Error messages
-------------- --------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment