mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 18:08:11 +00:00
Merge pull request #2922 from ethomson/more_explaining_threads_is_more_better
README: provide some more explanation about TLS
This commit is contained in:
commit
fb2f3a76aa
@ -70,7 +70,10 @@ before calling any other libgit2 functions. You can call this function many time
|
||||
|
||||
git_libgit2_shutdown();
|
||||
|
||||
will free the resources.
|
||||
will free the resources. Note that if you have worker threads, you should
|
||||
call `git_libgit2_shutdown` *after* those threads have exited. If you
|
||||
require assistance coordinating this, simply have the worker threads call
|
||||
`git_libgit2_init` at startup and `git_libgit2_shutdown` at shutdown.
|
||||
|
||||
Threading
|
||||
=========
|
||||
|
Loading…
Reference in New Issue
Block a user