Commit fb2f3a76 by Edward Thomson

Merge pull request #2922 from ethomson/more_explaining_threads_is_more_better

README: provide some more explanation about TLS
parents 366e53d3 ecf1c3c3
......@@ -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
=========
......
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