summaryrefslogtreecommitdiff
path: root/src/win32/pthread.h
Commit message (Collapse)AuthorAgeFilesLines
* React to review feedbackPhilip Kelley2014-06-071-1/+13
|
* Win32: Fix object::cache::threadmania test on x64Philip Kelley2014-06-071-7/+14
|
* Add simple global shutdown hooksRussell Belfer2013-09-171-1/+0
| | | | | | | | | | Increasingly there are a number of components that want to do some cleanup at global shutdown time (at least if there are not going to be memory leaks). This creates a very simple system of shutdown hooks that will be invoked by git_threads_shutdown. Right now, the maximum number of hooks is hardcoded, but since adding a hook is not a public API, it should be fine and I thought it was better to start off with really simple code.
* Convert to our own SRWLOCK type on Win32Russell Belfer2013-08-271-1/+3
|
* Fix MINGW SRWLock typedefsRussell Belfer2013-08-261-2/+0
|
* Load SRWLock APIs at runtimeRussell Belfer2013-08-261-2/+12
| | | | | | This loads SRWLock APIs at runtime and in their absence (i.e. on Windows before Vista) falls back on a regular CRITICAL_SECTION that will not permit concurrent readers.
* Trying to fix Win32 warningsRussell Belfer2013-08-221-5/+7
|
* Add SRWLock implementation of rwlocks for Win32Russell Belfer2013-08-221-1/+13
|
* Make indexer use shared packfile open codeRussell Belfer2013-04-221-4/+7
| | | | | | | | | | | The indexer was creating a packfile object separately from the code in pack.c which was a problem since I put a call to git_mutex_init into just pack.c. This commit updates the pack function for creating a new pack object (i.e. git_packfile_check()) so that it can be used in both places and then makes indexer.c use the shared initialization routine. There are also a few minor formatting and warning message fixes.
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Support pthread_cond_* on Win32Philip Kelley2012-10-161-0/+7
|
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* Tabify everythingVicent Marti2011-09-191-2/+2
| | | | | | 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-23/+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.
* Thread safe cacheVicent Marti2011-03-201-8/+1
|
* Add proper threading support to libgit2Vicent Marti2011-03-151-0/+67
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>