public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH 0/1] win32: modernize pthread_cond_*() shims
@ 2018-11-13 18:52 Johannes Schindelin via GitGitGadget
  2018-11-13 18:52 ` [PATCH 1/1] win32: replace pthread_cond_*() with much simpler code Loo Rong Jie via GitGitGadget
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2018-11-13 18:52 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

And yet another patch from Git for Windows' cache of treasures.

It was challenging to emulate the functions related to pthread_cond_t as
long as we tried to maintain support for Windows XP, which has nothing close
to that feature. Now that we require Windows Vista or later, we can make use
of the very nice functions associated with the CONDITION_VARIABLE data type.

Look at how much code this deletes, and how little it introduces. This is a
maintainer's dream.

Loo Rong Jie (1):
  win32: replace pthread_cond_*() with much simpler code

 compat/win32/pthread.c | 138 -----------------------------------------
 compat/win32/pthread.h |  28 +++------
 2 files changed, 7 insertions(+), 159 deletions(-)


base-commit: 8858448bb49332d353febc078ce4a3abcc962efe
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-80%2Fdscho%2Fmingw-modernize-pthread_cond_t-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-80/dscho/mingw-modernize-pthread_cond_t-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/80
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-13 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-13 18:52 [PATCH 0/1] win32: modernize pthread_cond_*() shims Johannes Schindelin via GitGitGadget
2018-11-13 18:52 ` [PATCH 1/1] win32: replace pthread_cond_*() with much simpler code Loo Rong Jie via GitGitGadget

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox