libgit2

git_threads_init

Version:

Init the threading system.

If libgit2 has been built with GIT_THREADS on, this function must be called once before any other library functions.

If libgit2 has been built without GIT_THREADS support, this function is a no-op.

Signature

int git_threads_init();

Returns

int

0 or an error code

Versions