summaryrefslogtreecommitdiff
path: root/include/git2/threads.h
Commit message (Collapse)AuthorAgeFilesLines
* Make the OpenSSL locking function warnings more severeCarlos Martín Nieto2014-12-121-40/+0
| | | | | Our git_openssl_set_locking() would ideally not exist. Make it clearer that we provide it as a last resort and you should prefer anything else.
* Rename git_threads_ to git_libgit2_Carlos Martín Nieto2014-11-081-26/+0
| | | | | | This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now.
* ssl: separate locking init from general initCarlos Martín Nieto2014-11-011-0/+16
| | | | | Extract the lock-setting functions into their own, as we cannot assume that it's ok for us to set this unconditionally.
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* move hash library func ptrs to global globalEdward Thomson2012-11-131-1/+3
|
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* threads: Fix the shared global state with TLSVicent Marti2011-11-161-0/+48
See `global.c` for a description of what we're doing. When libgit2 is built with GIT_THREADS support, the threading system must be explicitly initialized with `git_threads_init()`.