git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>
Subject: [PATCH 0/1] win32: modernize pthread_cond_*() shims
Date: Tue, 13 Nov 2018 10:52:34 -0800 (PST)	[thread overview]
Message-ID: <pull.80.git.gitgitgadget@gmail.com> (raw)

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

             reply	other threads:[~2018-11-13 18:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13 18:52 Johannes Schindelin via GitGitGadget [this message]
2018-11-13 18:52 ` [PATCH 1/1] win32: replace pthread_cond_*() with much simpler code Loo Rong Jie via GitGitGadget

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pull.80.git.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).