Thanks to visit codestin.com
Credit goes to github.com

Skip to content

global: clarify correct usage of git_libgit2_init with threads #3972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

pks-t
Copy link
Member

@pks-t pks-t commented Oct 27, 2016

git_libgit2_init needs to be called is a single-threaded
context first, as it also sets up threading-related data
structures. While the fact that it does so is mentioned in the
function's documentation, we do not mention the consequences.

Improve the documentation so that we explicitly note that
git_libgit2_init shall be called before making use of threads.

Refs #3969

`git_libgit2_init` needs to be called is a single-threaded
context first, as it also sets up threading-related data
structures. While the fact that it does so is mentioned in the
function's documentation, we do not mention the consequences.

Improve the documentation so that we explicitly note that
`git_libgit2_init` shall be called before making use of threads.
@pks-t
Copy link
Member Author

pks-t commented Nov 1, 2016

Closing in favor of #3974

@pks-t pks-t closed this Nov 1, 2016
@pks-t pks-t deleted the pks/global-init-threading-documentation branch February 8, 2017 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant