summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-02-27 00:37:20 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-02-27 00:37:20 -0500
commitfb2f3a76aaf9d76b947ca7527797e0eb0b5d057f (patch)
treea19ad079523d81d09115954148388b9eea531862
parent366e53d3da72805a3db1a1e77d4666416fcb5a93 (diff)
parentecf1c3c3589229e5d26ead78607d6abbb881c6d8 (diff)
downloadlibgit2-fb2f3a76aaf9d76b947ca7527797e0eb0b5d057f.tar.gz
Merge pull request #2922 from ethomson/more_explaining_threads_is_more_better
README: provide some more explanation about TLS
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index b9a42d76d..882924231 100644
--- a/README.md
+++ b/README.md
@@ -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
=========