From ecf1c3c3589229e5d26ead78607d6abbb881c6d8 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 23 Feb 2015 11:18:52 -0500 Subject: [PATCH] README: provide some more explanation about TLS --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 =========