summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 15:10:37 -0500
committerGitHub <noreply@github.com>2021-11-11 15:10:37 -0500
commitdfd5b32f35f68a7aae0fb06217c5d0d31f1edf82 (patch)
tree43d67d3443c70af6be3f2ac8940425715d0fa7b6
parent44ec8b5cdf960cfeb66284a3cd5bdd8c14aefedf (diff)
parent644c763b761eca2653b567515cc4b59262d58428 (diff)
downloadlibgit2-dfd5b32f35f68a7aae0fb06217c5d0d31f1edf82.tar.gz
Merge pull request #6109 from joshtriplett/document-odb-race-free
Document that `git_odb` is thread-safe
-rw-r--r--docs/threading.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/threading.md b/docs/threading.md
index ddfaf7ae5..de085c807 100644
--- a/docs/threading.md
+++ b/docs/threading.md
@@ -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
snapshots.
+The `git_odb` object uses locking internally, and is thread-safe to use from
+multiple threads simultaneously.
+
Error messages
--------------