mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Document that git_odb is thread-safe
Commit 4ae41f9c63 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.
This commit is contained in:
@@ -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
|
||||
--------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user