summaryrefslogtreecommitdiff
path: root/include/git2/thread-utils.h
Commit message (Collapse)AuthorAgeFilesLines
* threads: Fix the shared global state with TLSVicent Marti2011-11-161-60/+0
| | | | | | | 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()`.
* Tabify everythingVicent Marti2011-09-191-29/+29
| | | | | | There were quite a few places were spaces were being used instead of tabs. Try to catch them all. This should hopefully not break anything. Except for `git blame`. Oh well.
* Cleanup legal dataVicent Marti2011-09-191-21/+3
| | | | | | | | | | 1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
* threads: Cleanup TLS declarationsVicent Marti2011-06-071-30/+37
| | | | This time for good.
* Revert "threads: Fix TLS declarations"Vicent Marti2011-06-071-37/+30
| | | | This commit uploaded an old broken test. Oops!
* threads: Fix TLS declarationsVicent Marti2011-06-071-30/+37
| | | | | Cleanup the thread-utils file. Do not define TLS if libgit2 is not threadsafe.
* errors: Add error handling functionVicent Marti2011-05-091-0/+1
|
* Thread safe cacheVicent Marti2011-03-201-2/+0
|
* Add proper threading support to libgit2Vicent Marti2011-03-151-9/+1
| | | | | | | We now depend on libpthread on all Unix platforms (should be installed by default) and use a simple wrapper for Windows threads under Win32. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Move the external includes folder from `src` to `include`Vicent Marti2011-03-031-0/+80
Signed-off-by: Vicent Marti <tanoku@gmail.com>