author | Andrzej K. Haczewski <ahaczewski@gmail.com> | |
Fri, 15 Jan 2010 20:12:20 +0000 (21:12 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 Jan 2010 02:16:06 +0000 (18:16 -0800) | ||
commit | 44626dc7d562d23b54d969bb73ddeda12d5602e9 | |
tree | 258fc4d9deba69663084f646ab97fd7458e0bbba | tree | snapshot |
parent | b6f714f89a2abb591e6d46595f43bc8d4d356a72 | commit | diff |
MSVC: Windows-native implementation for subset of Pthreads API
This patch implements native to Windows subset of pthreads API used by Git.
It allows to remove Pthreads for Win32 dependency for MSVC, msysgit and
Cygwin.
[J6t: If the MinGW build was built as part of the msysgit build
environment, then threading was already enabled because the
pthreads-win32 package is available in msysgit. With this patch, we can now
enable threaded code unconditionally.]
Signed-off-by: Andrzej K. Haczewski <ahaczewski@gmail.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch implements native to Windows subset of pthreads API used by Git.
It allows to remove Pthreads for Win32 dependency for MSVC, msysgit and
Cygwin.
[J6t: If the MinGW build was built as part of the msysgit build
environment, then threading was already enabled because the
pthreads-win32 package is available in msysgit. With this patch, we can now
enable threaded code unconditionally.]
Signed-off-by: Andrzej K. Haczewski <ahaczewski@gmail.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
builtin-pack-objects.c | diff | blob | history | |
compat/mingw.c | diff | blob | history | |
compat/mingw.h | diff | blob | history | |
compat/win32/pthread.c | [new file with mode: 0644] | blob |
compat/win32/pthread.h | [new file with mode: 0644] | blob |