Skip to content

Port of pthreads to Windows API threads

Andrzej K. Haczewski git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1MSVC: port pthread code to native Windows threadsMakefile builtin-pack-objects.c compat/winthread.h +1 more+272 -39 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Port of pthreads to Windows API threads

Here is a small patch that allows use of native Windows API threads for where git uses pthreads. I don't have full msysgit environment to test it, all I know is it compiles, so someone else could test it a little. I enabled it for MSVC only (since msysgit uses win32-pthreads and cygwin has it's own). I assume that patch could help with getting rid of that one dependency for msysgit.

PS. I'm new here (actually new for whole kernel-like-development-cycle-with- patches-flying-low-on-mailing-lists), so please be kind to my stupidity for a while... please? ;-)

Andrzej K. Haczewski (1):
MSVC: port pthread code to native Windows threads

 Makefile               |    2 +-
 builtin-pack-objects.c |   42 +++++++++-
 compat/winthread.h     |  219 ++++++++++++++++++++++++++++++++++++++++++++++++
 preload-index.c        |   12 +++
 4 files changed, 272 insertions(+), 3 deletions(-)
 create mode 100644 compat/winthread.h